diff options
author | Geliang Tang <geliangtang@163.com> | 2015-12-22 17:16:13 +0300 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-01-20 04:35:45 +0300 |
commit | f5b3f66548b72f8ab77fea5867bd45ad91ed2143 (patch) | |
tree | a96e164200fadd77c6789daea8bb5fbc74a67449 | |
parent | ecc83e52b28c707da3e7fb8aa471417d9c0d1ec7 (diff) | |
download | linux-f5b3f66548b72f8ab77fea5867bd45ad91ed2143.tar.xz |
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 <geliangtang@163.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r-- | drivers/platform/x86/asus-wmi.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 <corentin.chary@gmail.com>, " 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)) |