From: Geliang Tang Date: Tue, 22 Dec 2015 14:16:13 +0000 (+0800) Subject: asus-wmi: drop to_platform_driver macro X-Git-Tag: MMI-PSA29.97-13-9~8666^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f5b3f66548b72f8ab77fea5867bd45ad91ed2143;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git asus-wmi: drop to_platform_driver macro to_platform_driver has been defined in platform_device.h, so drop this repetitive macro in asus-wmi.c. Signed-off-by: Geliang Tang Signed-off-by: Darren Hart --- diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index f96f7b865267..a96630d52346 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -56,9 +56,6 @@ MODULE_AUTHOR("Corentin Chary , " MODULE_DESCRIPTION("Asus Generic WMI Driver"); MODULE_LICENSE("GPL"); -#define to_platform_driver(drv) \ - (container_of((drv), struct platform_driver, driver)) - #define to_asus_wmi_driver(pdrv) \ (container_of((pdrv), struct asus_wmi_driver, platform_driver))