]> 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)
commit666e7efe60c75130d1b22501d1209474914c6cc5
tree7e5c5287858000036a1cd436382b1fe217f51326
parent41aa7f45df2316f92d6d78cf3cd4e54d1bd39973
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 30bf0eae ("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