]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2763ee644809820fb1b741f1e7dd779038092324
tree7e5c5287858000036a1cd436382b1fe217f51326
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb
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 3c702e99 ("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