From: andrzej zaborowski Date: Thu, 9 Nov 2006 23:28:48 +0000 (+0200) Subject: ARM: OMAP: Convert gpio-switch to platform_driver X-Git-Tag: v2.6.19-omap1~70 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6433b741c38c83307631b813b2193464da154376;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed