Bartosz Golaszewski bfad978116 regmap: provide helpers for simple bit operations
In many instances regmap_update_bits() is used for simple bit setting
and clearing. In these cases the last argument is redundant and we can
hide it with a static inline function.

This adds three new helpers for simple bit operations: set_bits,
clear_bits and test_bits (the last one defined as a regular function).

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-01 11:35:18 -07:00
..
2020-04-03 15:05:35 -07:00
2020-03-31 21:29:04 +02:00
2019-12-11 09:12:38 +01:00
2019-11-12 11:43:29 -05:00
2020-04-08 21:29:10 -07:00
2020-03-30 10:14:19 +02:00
2020-04-03 15:05:35 -07:00
2020-04-07 19:44:52 -07:00
2020-05-11 12:04:52 -07:00
2020-04-02 15:50:04 -07:00
2020-04-08 21:03:40 -07:00
2020-03-31 10:05:01 -07:00
2020-03-30 11:43:51 -07:00
2020-05-15 17:29:41 +02:00
2020-05-15 17:29:41 +02:00
2020-04-10 15:36:21 -07:00
2020-01-23 00:35:50 +01:00
2019-09-23 11:21:04 -07:00
2020-04-08 11:00:00 -07:00
2019-10-09 19:33:43 -07:00
2020-03-09 11:12:19 +01:00
2019-11-28 11:16:43 -08:00
2019-12-03 11:20:37 +01:00
2020-02-17 13:37:00 +01:00
2019-09-05 19:52:33 -06:00
2020-05-04 11:19:58 -07:00
2020-01-18 09:19:18 -05:00
2020-03-06 11:06:15 +01:00
2020-03-30 11:20:13 -07:00
2020-03-27 20:19:24 -03:00
2019-11-08 08:46:49 -08:00
2020-04-30 12:54:01 -07:00
2019-10-04 12:31:46 -07:00
2019-10-15 13:34:25 +02:00
2020-03-21 16:00:24 +01:00
2019-12-04 19:44:14 -08:00
2020-01-31 17:33:54 +00:00
2020-02-20 21:17:24 +01:00
2019-12-11 09:12:38 +01:00
2020-03-30 18:51:47 -07:00
2020-04-10 15:36:21 -07:00
2020-04-08 21:03:40 -07:00
2020-05-05 16:58:36 +02:00
2020-03-06 11:56:59 +01:00
2020-04-07 10:43:38 -07:00
2020-02-01 10:01:52 -08:00
2019-12-09 10:55:03 +01:00
2020-03-21 16:00:24 +01:00
2019-11-14 19:06:47 -08:00
2020-05-29 13:10:39 -07:00
2020-01-15 10:54:33 -05:00
2020-01-14 12:20:48 +01:00
2019-12-11 16:37:02 +08:00
2020-04-02 09:35:27 -07:00
2020-04-07 10:43:38 -07:00
2019-11-13 19:09:47 +08:00
2020-04-03 14:25:02 -07:00
2020-01-15 16:30:28 +00:00
2020-04-03 14:25:02 -07:00
2020-01-13 18:16:43 -08:00
2019-12-05 11:43:31 -08:00
2019-11-14 13:07:48 +08:00
2020-03-21 16:00:24 +01:00
2020-02-21 10:31:18 +01:00
2020-04-07 10:43:42 -07:00
2020-05-17 12:35:34 -07:00
2020-03-21 16:00:24 +01:00
2020-03-02 14:04:31 -07:00
2019-11-13 12:15:34 -08:00
2020-02-04 03:05:26 +00:00
2020-03-23 13:41:55 +01:00
2020-01-29 19:38:34 -08:00
2020-05-28 11:11:45 -07:00
2020-03-30 18:51:47 -07:00
2020-05-04 09:16:37 -07:00
2020-02-21 11:22:15 -08:00
2020-01-14 12:20:48 +01:00
2020-03-23 17:01:47 +01:00
2020-04-17 06:05:30 -04:00
2020-04-01 12:06:26 -04:00
2020-04-17 06:05:30 -04:00
2019-11-14 12:20:02 +08:00