The spatch conversion (commit
05d44557c6a83b4ecb935cb6306f62,
"backports: transform group attribute backport to SmPL form")
added an #ifdef that shouldn't be there - remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
@@
(
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)
+ group_class_init();
-+#endif
return class_register(&group_class);
|
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)
+ group_class_init();
-+#endif
ret = class_register(&group_class);
)
@@
(
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)
+ group_bus_init();
-+#endif
return bus_register(&group_bus);
|
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)
+ group_bus_init();
-+#endif
ret = bus_register(&group_bus);
)