]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: imx-lpi2c: Use __maybe_unused instead of #if CONFIG_PM_SLEEP
authorAnson Huang <anson.huang@nxp.com>
Tue, 30 Apr 2019 07:00:02 +0000 (07:00 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 3 May 2019 14:51:38 +0000 (16:51 +0200)
commitc395f8dc1a0904e948854019094964882a5e60f8
treee26eda56f68ae7485754d23df1a763ef6adbd8a8
parent24beb83ad289c68bce7c01351cb90465bbb1940a
i2c: imx-lpi2c: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

Use __maybe_unused for power management related functions
instead of #if CONFIG_PM_SLEEP to simply the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx-lpi2c.c