mux: gpio: Use bitmap API instead of direct assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Mar 2021 19:33:23 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Apr 2021 14:28:53 +0000 (16:28 +0200)
commit5c777233c90f80a75cbd79c1b2fd713453dd02ff
tree70ac830c76d3af672c87ed3380091c295a2b9299
parent5a1bea2a2572ce5eb4bdcf432a6929681ee381f2
mux: gpio: Use bitmap API instead of direct assignment

Assigning bitmaps like it's done in the driver might be error prone.
Fix this by using bitmap API.

Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210330193325.68362-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mux/gpio.c