Johan Hovold 4d3ec936f8 mfd: lm3533: Expand control-bank accessors
Expand the control-bank accessors that were implemented using macros.
This allows the definitions of these exported functions to be found more
easily and specifically avoids a W=1 compiler warning due to the
redundant brightness sanity check:

drivers/mfd/lm3533-ctrlbank.c: In function 'lm3533_ctrlbank_set_brightness':
drivers/mfd/lm3533-ctrlbank.c:98:10: warning: comparison is always false due to limited range of data type [-Wtype-limits]
   98 |  if (val > LM3533_##_NAME##_MAX)     \
      |          ^
drivers/mfd/lm3533-ctrlbank.c:125:1: note: in expansion of macro 'lm3533_ctrlbank_set'
  125 | lm3533_ctrlbank_set(brightness, BRIGHTNESS);
      | ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-07-01 14:54:29 +01:00
..
2020-01-24 07:33:57 +00:00
2019-08-14 09:07:20 +01:00
2019-07-15 20:18:40 -07:00
2019-12-01 16:16:31 -08:00
2020-01-09 15:30:59 -08:00
2019-07-15 20:18:40 -07:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2017-07-18 08:27:18 +01:00
2020-03-27 09:42:44 +00:00
2019-07-09 08:59:39 -07:00