Messages in this thread | | | Date | Thu, 24 Feb 2022 14:36:40 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH v2] pwm: vt8500: Rename variable pointing to driver private data |
| |
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@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 [unhandled content-type:application/pgp-signature] | |