iio: accel: kxcjk-1013: Fix defined but unused warning
authorDaniel Baluta <daniel.baluta@intel.com>
Sun, 9 Mar 2014 16:13:00 +0000 (16:13 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Sep 2014 17:33:23 +0000 (18:33 +0100)
commitc9bf2373da2144dec511503cebf5f8a63b0dcff3
treef190968a1b5125e46b85ec5f7a8febbfe35f7f26
parent48edc3748142ad393c6ee2bfcc1eb256e9f88b38
iio: accel: kxcjk-1013: Fix defined but unused warning

Noticed when compiling with CONFIG_PM_RUNTIME not set:
kxcjk-1013.c: warning: ‘kxcjk1013_get_startup_times’ defined but not used [-Wunused-function]

Introduced by commit 124e1b1d (iio: accel: kxcjk-1013: support runtime pm).

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxcjk-1013.c