diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-01-29 04:48:30 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-01-29 04:48:30 -0500 |
commit | 617677295b53a40d0e54aac4cbbc216ffbc755dd (patch) | |
tree | 51b9e87213243ed5efff252c8e8d8fec4eebc588 /drivers/pcmcia/ds.c | |
parent | 5c8d1b68e01a144813e38795fe6dbe7ebb506131 (diff) | |
parent | 6abb7c25775b7fb2225ad0508236d63ca710e65f (diff) |
Merge branch 'master' into for-next
Conflicts:
drivers/devfreq/exynos4_bus.c
Sync with Linus' tree to be able to apply patches that are
against newer code (mvneta).
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r-- | drivers/pcmcia/ds.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 079629bff957..2deacbb2ffdc 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -920,8 +920,6 @@ static int pcmcia_bus_match(struct device *dev, struct device_driver *drv) | |||
920 | return 0; | 920 | return 0; |
921 | } | 921 | } |
922 | 922 | ||
923 | #ifdef CONFIG_HOTPLUG | ||
924 | |||
925 | static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) | 923 | static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) |
926 | { | 924 | { |
927 | struct pcmcia_device *p_dev; | 925 | struct pcmcia_device *p_dev; |
@@ -962,15 +960,6 @@ static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) | |||
962 | return 0; | 960 | return 0; |
963 | } | 961 | } |
964 | 962 | ||
965 | #else | ||
966 | |||
967 | static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) | ||
968 | { | ||
969 | return -ENODEV; | ||
970 | } | ||
971 | |||
972 | #endif | ||
973 | |||
974 | /************************ runtime PM support ***************************/ | 963 | /************************ runtime PM support ***************************/ |
975 | 964 | ||
976 | static int pcmcia_dev_suspend(struct device *dev, pm_message_t state); | 965 | static int pcmcia_dev_suspend(struct device *dev, pm_message_t state); |
@@ -1329,7 +1318,7 @@ static struct pcmcia_callback pcmcia_bus_callback = { | |||
1329 | .resume = pcmcia_bus_resume, | 1318 | .resume = pcmcia_bus_resume, |
1330 | }; | 1319 | }; |
1331 | 1320 | ||
1332 | static int __devinit pcmcia_bus_add_socket(struct device *dev, | 1321 | static int pcmcia_bus_add_socket(struct device *dev, |
1333 | struct class_interface *class_intf) | 1322 | struct class_interface *class_intf) |
1334 | { | 1323 | { |
1335 | struct pcmcia_socket *socket = dev_get_drvdata(dev); | 1324 | struct pcmcia_socket *socket = dev_get_drvdata(dev); |