Arnd Bergmann
22a96b85ea
mfd: exynos-lpass: Mark PM functions as __maybe_unused
...
The newly added exynos lpass driver produces a build warning when
CONFIG_PM is disabled since the only callers of exynos_lpass_disable
are under an #ifdef:
drivers/mfd/exynos-lpass.c:93:13: error: 'exynos_lpass_disable' defined but not used [-Werror=unused-function]
static void exynos_lpass_disable(struct exynos_lpass *lpass)
This removes the #ifdef and replaces it with __maybe_unused annotations
so the compiler can leave out the unused code silently with less
room for mistakes.
Fixes: 36c26760bba8 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-10-04 15:48:04 +01:00
..
2016-01-14 08:43:50 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2016-01-14 08:43:51 +00:00
2014-09-26 08:15:45 +01:00
2016-01-14 08:43:52 +00:00
2016-01-14 08:43:53 +00:00
2016-01-14 08:43:53 +00:00
2016-07-12 11:23:58 +02:00
2016-05-09 16:26:15 +01:00
2016-01-14 08:43:56 +00:00
2016-07-12 11:23:58 +02:00
2014-06-03 08:11:51 +01:00
2016-08-08 12:53:26 +01:00
2016-10-04 15:48:03 +01:00
2016-01-14 08:43:57 +00:00
2016-10-04 15:48:03 +01:00
2016-10-04 15:48:03 +01:00
2016-01-14 08:43:58 +00:00
2016-06-29 10:14:40 +01:00
2015-12-04 08:46:39 +00:00
2015-12-04 08:46:39 +00:00
2016-04-19 07:54:50 +01:00
2016-05-09 08:24:46 +01:00
2016-04-19 07:58:06 +01:00
2015-10-30 17:19:49 +00:00
2016-04-19 07:54:58 +01:00
2016-02-12 08:53:03 +00:00
2016-09-13 14:10:04 +01:00
2016-10-04 15:48:01 +01:00
2016-04-19 07:55:05 +01:00
2016-01-14 08:44:01 +00:00
2016-01-14 08:44:01 +00:00
2016-08-31 10:50:59 +01:00
2016-03-16 08:50:22 +00:00
2016-01-14 08:44:02 +00:00
2016-01-14 08:44:03 +00:00
2016-10-04 15:48:02 +01:00
2016-01-14 08:44:03 +00:00
2016-01-14 08:44:04 +00:00
2015-11-06 10:23:50 -08:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:08:48 +01:00
2016-03-16 08:50:27 +00:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2015-10-13 11:28:36 +01:00
2016-01-14 08:44:05 +00:00
2016-07-12 11:23:58 +02:00
2013-09-26 11:04:16 +02:00
2015-03-26 14:20:18 +00:00
2016-10-04 15:48:02 +01:00
2016-10-04 15:48:04 +01:00
2015-11-04 11:02:12 +00:00
2016-02-11 15:40:41 +00:00
2016-06-29 10:16:32 +01:00
2016-04-19 07:55:15 +01:00
2016-04-19 07:58:23 +01:00
2016-04-19 07:58:30 +01:00
2014-01-06 09:13:29 +00:00
2016-10-04 15:48:03 +01:00
2016-05-20 11:10:24 -07:00
2016-10-04 15:48:02 +01:00
2016-05-09 13:27:40 +01:00
2015-06-22 12:25:01 +01:00
2015-07-21 09:22:08 +02:00
2016-10-04 15:48:04 +01:00
2016-10-04 15:48:04 +01:00
2016-05-20 11:10:24 -07:00
2016-04-09 03:10:50 +02:00
2016-03-16 08:50:41 +00:00
2015-05-06 08:03:20 +02:00
2015-09-16 15:47:51 +02:00
2016-10-04 15:48:03 +01:00
2016-06-29 10:16:36 +01:00
2015-10-30 17:19:52 +00:00
2012-05-20 17:27:02 +02:00
2016-08-31 13:20:31 +01:00
2016-04-19 07:55:23 +01:00
2016-04-11 13:31:40 +01:00
2015-08-11 15:08:48 +01:00
2015-11-24 11:10:46 +00:00
2015-01-22 15:55:56 +00:00
2016-10-04 15:48:02 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2016-06-29 10:14:30 +01:00
2015-08-11 15:09:08 +01:00
2016-06-29 10:14:30 +01:00
2015-08-11 15:09:08 +01:00
2016-06-29 10:14:29 +01:00
2016-10-04 15:48:02 +01:00
2016-08-01 07:28:14 -04:00
2016-05-09 13:27:20 +01:00
2016-04-19 07:59:14 +01:00
2016-06-29 10:14:28 +01:00
2015-12-04 08:45:54 +00:00
2015-08-11 15:08:48 +01:00
2015-10-28 10:30:17 +09:00
2014-07-09 14:58:10 +01:00
2014-07-22 13:17:02 +01:00
2014-10-20 16:20:53 +02:00
2016-02-16 00:20:03 +01:00
2016-04-19 07:55:30 +01:00
2016-05-20 11:10:24 -07:00
2016-05-09 08:20:22 +01:00
2015-01-22 16:03:53 +00:00
2016-06-29 10:14:33 +01:00
2013-04-09 09:46:23 +02:00
2015-08-11 15:08:48 +01:00
2014-03-19 08:58:07 +00:00
2015-01-22 15:56:21 +00:00
2012-03-06 18:46:51 +01:00
2015-10-30 17:19:42 +00:00
2016-08-31 09:33:11 +01:00
2016-10-04 15:48:02 +01:00
2016-01-11 06:23:32 +00:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2016-04-19 07:55:52 +01:00
2015-08-11 15:08:48 +01:00
2016-08-31 13:48:25 +01:00
2016-06-29 10:11:35 +01:00
2016-04-19 07:56:17 +01:00
2015-03-03 16:41:21 +00:00
2015-10-30 17:19:44 +00:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:44 +00:00
2015-10-30 17:19:44 +00:00
2015-11-06 10:47:12 -08:00
2015-10-30 17:19:51 +00:00
2016-10-04 15:48:02 +01:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2014-07-25 15:31:44 +01:00
2016-06-29 10:14:31 +01:00
2013-04-19 18:37:59 +02:00
2016-04-19 07:56:28 +01:00
2016-10-04 15:48:03 +01:00
2016-10-04 15:48:04 +01:00
2014-10-20 16:20:53 +02:00
2016-01-11 06:23:38 +00:00
2016-08-10 09:25:18 +01:00
2015-10-28 10:30:17 +09:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2016-04-19 07:56:35 +01:00
2016-10-04 15:48:04 +01:00
2016-03-16 08:50:18 +00:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:09:01 +01:00
2014-11-25 16:18:58 +00:00
2016-04-19 07:58:44 +01:00
2016-06-29 10:14:39 +01:00
2015-11-17 06:58:42 -02:00
2016-05-09 08:21:11 +01:00
2016-06-29 10:14:35 +01:00
2015-08-11 15:09:01 +01:00
2016-04-19 07:58:51 +01:00
2016-03-16 08:50:15 +00:00
2016-03-16 08:50:36 +00:00
2016-10-04 15:48:03 +01:00
2015-08-11 15:09:10 +01:00
2016-05-09 13:27:39 +01:00
2014-10-20 16:20:53 +02:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2016-05-27 15:26:11 -07:00
2016-05-09 08:24:41 +01:00
2015-08-11 15:09:06 +01:00
2016-10-04 15:48:03 +01:00
2016-10-04 15:48:04 +01:00
2012-03-22 13:04:33 +01:00
2012-02-18 23:15:44 +00:00
2016-10-04 15:48:03 +01:00
2012-02-18 23:15:43 +00:00
2013-07-31 13:01:29 +01:00
2016-04-19 07:59:06 +01:00
2014-11-25 16:18:42 +00:00
2014-01-21 08:27:45 +00:00
2016-05-09 13:27:39 +01:00
2015-06-22 12:25:25 +01:00
2015-10-26 14:49:04 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2016-01-11 06:23:21 +00:00
2015-10-28 10:30:17 +09:00
2016-03-16 08:50:21 +00:00
2016-05-09 15:41:35 +01:00
2015-06-22 12:25:26 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2012-07-09 00:16:10 +02:00
2016-05-09 08:23:56 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:09:13 +01:00
2015-08-11 15:08:47 +01:00
2015-09-04 11:46:02 -07:00
2016-03-16 08:50:22 +00:00