extcon: axp288: Use for_each_set_bit() in axp288_extcon_log_rsi()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Jul 2019 12:18:20 +0000 (15:18 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 Jul 2019 01:24:14 +0000 (10:24 +0900)
commit21be848ebc5f3cb714b23c2528fbe73f69073c32
treee62562bc2c888d57b242e7316b17fa11387e44af
parentd72e3dc7915fc6c54645772c13f4afc0e676c7e2
extcon: axp288: Use for_each_set_bit() in axp288_extcon_log_rsi()

This simplifies and standardizes axp288_extcon_log_rsi()
by using for_each_set_bit() library function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c