summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-mcp23s08_spi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-07 20:38:48 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-04-16 15:21:23 +0300
commit7b04aaaf660be525bf0df892a198a24ad66ac93d (patch)
treec0c802e543bdd0054de606d7ae270704594d443e /drivers/pinctrl/pinctrl-mcp23s08_spi.c
parent1ac30db20be2da288131a865b94c772512e9ad47 (diff)
downloadlinux-7b04aaaf660be525bf0df892a198a24ad66ac93d.tar.xz
pinctrl: mcp23s08: Use for_each_set_bit() and hweight_long()
Here is a simplification of SPI code by using for_each_set_bit() and hweight_long() library functions. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200407173849.43628-8-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-mcp23s08_spi.c')
0 files changed, 0 insertions, 0 deletions