From 6433b741c38c83307631b813b2193464da154376 Mon Sep 17 00:00:00 2001 From: andrzej zaborowski Date: Fri, 10 Nov 2006 01:28:48 +0200 Subject: [PATCH] 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-format-patch failed