[PATCH] drivers/regulator: remove redundant ret variable

Mark Brown broonie at kernel.org
Tue Jan 4 07:00:59 PST 2022


On Tue, Jan 04, 2022 at 10:41:39AM +0000, cgel.zte at gmail.com wrote:
> From: Minghao Chi <chi.minghao at zte.com.cn>
> 
> Return value from regmap_update_bits() directly instead
> of taking this in another redundant variable.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20220104/6b7349d2/attachment.sig>


More information about the Linux-mediatek mailing list