Do not mount gpios as led or button

Hi,

I'm working with a wnr2200. I just found that on
17.01.4 gpios are exported as leds and buttons (reset). Is there any
easy way not to do that (or to unmount it), so that I can use GPIO as
GPIO? (Because I need to run allready existing programs based en gpio )Thanks.

Pierre.

Solution:

rmmod leds_gpio
rmmod gpio_button_hotplug

echo "leds-gpio" > /sys/bus/platform/drivers/leds-gpio/unbind