Re: [PATCH v2] pwm: vt8500: Rename variable pointing to driver private data
From: Thierry Reding
Date: Thu Feb 24 2022 - 08:37:00 EST
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@xxxxxxxxxxxxx>
> ---
> 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
Attachment:
signature.asc
Description: PGP signature