[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200601.113536.134620919829517847.davem@davemloft.net>
Date: Mon, 01 Jun 2020 11:35:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brgl@...ev.pl
Cc: john@...ozen.org, sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
kuba@...nel.org, matthias.bgg@...il.com, broonie@...nel.org,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
fparent@...libre.com, stephane.leprovost@...iatek.com,
pedro.tsai@...iatek.com, andrew.perepech@...iatek.com,
bgolaszewski@...libre.com
Subject: Re: [PATCH v3 0/2] regmap: provide simple bitops and use them in a
driver
From: Bartosz Golaszewski <brgl@...ev.pl>
Date: Thu, 28 May 2020 17:45:01 +0200
> From: Bartosz Golaszewski <bgolaszewski@...libre.com>
>
> 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 specific bits with regmap.
>
> The second patch uses all three in a driver that got recently picked into
> the net-next tree.
>
> The patches obviously target different trees so - if you're ok with
> the change itself - I propose you pick the first one into your regmap
> tree for v5.8 and then I'll resend the second patch to add the first
> user for these macros for v5.9.
>
> v1 -> v2:
> - convert the new macros to static inline functions
>
> v2 -> v3:
> - drop unneeded ternary operator
Series applied to net-next, thank you.
Powered by blists - more mailing lists