[PATCH v2] pwm: vt8500: Rename variable pointing to driver private data

Thierry Reding thierry.reding at gmail.com
Thu Feb 24 05:36:40 PST 2022


On Fri, Feb 11, 2022 at 10:37:41AM +0800, zhaoxiao wrote:
> Status quo is that variables of type struct vt8500_chip * are named
> "vt8500", "chip". Because usually only struct pwm_device * variables
> are named "pwm" and "chip" is usually used for variabled of type
> struct pwm_chip *.
> 
> So consistently use the same and non-conflicting name "vt8500".
> 
> Signed-off-by: zhaoxiao <zhaoxiao at uniontech.com>
> ---
>  v2: Rename the "chip" to "vt8500" for variable of type struct vt8500_chip *.
>  drivers/pwm/pwm-vt8500.c | 38 +++++++++++++++++++-------------------
>  1 file changed, 19 insertions(+), 19 deletions(-)

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220224/9859b8cb/attachment.sig>


More information about the linux-arm-kernel mailing list