]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Convert gpio-switch to platform_driver
authorandrzej zaborowski <balrog@zabor.org>
Thu, 9 Nov 2006 23:28:48 +0000 (01:28 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 9 Nov 2006 23:34:23 +0000 (01:34 +0200)
commit6433b741c38c83307631b813b2193464da154376
treef5fd2e74c1f064f85ec6b13160fc4cfad268cda2
parentd9e757b41a2c389014d4896498abf72abafca16a
ARM: OMAP: Convert gpio-switch to platform_driver

Converts the gpio-switch driver to platform_driver to avoid bad cast
which occurs because the bus type is set to platform bus. Also
silences the following warnings:

arch/arm/plat-omap/gpio-switch.c:292: warning: ignoring return value
of 'device_create_file', declared with attribute warn_unused_result
arch/arm/plat-omap/gpio-switch.c:293: warning: ignoring return value
of 'device_create_file', declared with attribute warn_unused_result
arch/arm/plat-omap/gpio-switch.c:294: warning: ignoring return value
of 'device_create_file', declared with attribute warn_unused_result

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio-switch.c