iio: imu: st_lsm6dsx: substitute ifdef CONFIG_PM with __maybe_unused macro
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 19 May 2017 20:11:36 +0000 (22:11 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 May 2017 14:07:59 +0000 (15:07 +0100)
commit3cec48501748644ce2e17eb976d3201a753e5aae
treee5cc0ca1fe6c31f52b187a9df1727b9ffd6c2311
parent5333e88661f2079d5ca8b94690ac920976300de3
iio: imu: st_lsm6dsx: substitute ifdef CONFIG_PM with __maybe_unused macro

Get rid of #ifdef CONFIG_PM by adding __maybe_unused macro to
st_lsm6dsx_suspend and st_lsm6dsx_resume function declarations

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c