Re: [PATCH v3 0/2] regmap: provide simple bitops and use them in a driver

2020-06-01 Thread Mark Brown
On Mon, Jun 01, 2020 at 11:35:36AM -0700, David Miller wrote: > > v2 -> v3: > > - drop unneeded ternary operator > Series applied to net-next, thank you. I already applied patch 1 and sent a pull request to Linus for it. As I said: | Let me know if you need a pull request for this, given the

Re: [PATCH v3 0/2] regmap: provide simple bitops and use them in a driver

2020-06-01 Thread David Miller
From: Bartosz Golaszewski Date: Thu, 28 May 2020 17:45:01 +0200 > From: Bartosz Golaszewski > > I noticed that oftentimes I use regmap_update_bits() for simple bit > setting or clearing. In this case the fourth argument is superfluous as > it's always 0 or equal to the mask argument. > > This

Re: [PATCH v3 0/2] regmap: provide simple bitops and use them in a driver

2020-05-29 Thread Mark Brown
On Fri, May 29, 2020 at 05:52:00PM +0100, Mark Brown wrote: > [1/1] regmap: provide helpers for simple bit operations > commit: aa2ff9dbaeddabb5ad166db5f9f1a0580a8bbba8 Let me know if you need a pull request for this, given the merge window is likely to open over the weekend I figured it's

Re: [PATCH v3 0/2] regmap: provide simple bitops and use them in a driver

2020-05-29 Thread Mark Brown
On Thu, 28 May 2020 17:45:01 +0200, Bartosz Golaszewski wrote: > I noticed that oftentimes I use regmap_update_bits() for simple bit > setting or clearing. In this case the fourth argument is superfluous as > it's always 0 or equal to the mask argument. > > This series proposes to add simple bit

[PATCH v3 0/2] regmap: provide simple bitops and use them in a driver

2020-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I noticed that oftentimes I use regmap_update_bits() for simple bit setting or clearing. In this case the fourth argument is superfluous as it's always 0 or equal to the mask argument. This series proposes to add simple bit operations for setting, clearing and testing