]> git.baikalelectronics.ru Git - kernel.git/commit
m68k/gpio: remove arch specific sysfs bus device
authorGreg Ungerer <gerg@uclinux.org>
Wed, 6 Apr 2016 19:26:26 +0000 (05:26 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 11 Apr 2016 02:03:18 +0000 (12:03 +1000)
commit151b1cb2531f05a93a734cc581ccf2065baae2ae
tree7e5c5287858000036a1cd436382b1fe217f51326
parentd7b9039fd4cd436110bd493aa35e59ca751065ba
m68k/gpio: remove arch specific sysfs bus device

The ColdFire architecture specific gpio support code registers a sysfs
bus device named "gpio". This clashes with the new generic API device
added in commit a65561fc ("gpio: add a userspace chardev ABI for GPIOs").

The old ColdFire sysfs gpio device was never used for anything specific,
and no links or other nodes were created under it. The new API sysfs gpio
device has all the same default sysfs links (device, drivers, etc) and
they are properly populated.

Remove the old ColdFire sysfs gpio registration.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/m68k/coldfire/gpio.c