Re: [PATCH] staging: greybus: pwm: Drop unused member from driver struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 7/14/23 3:16 PM, Uwe Kleine-König wrote:
The driver doesn't make use of struct gb_pwm_chip::pwm. So that struct
member can just be dropped.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
  drivers/staging/greybus/pwm.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/drivers/staging/greybus/pwm.c b/drivers/staging/greybus/pwm.c
index 88da1d796f13..f569d371a007 100644
--- a/drivers/staging/greybus/pwm.c
+++ b/drivers/staging/greybus/pwm.c
@@ -19,7 +19,6 @@ struct gb_pwm_chip {
  	u8			pwm_max;	/* max pwm number */
struct pwm_chip chip;
-	struct pwm_chip		*pwm;
static inline struct gb_pwm_chip *pwm_chip_to_gb_pwm_chip(struct pwm_chip *chip)

base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5

Looks good.

Reviewed-by: Alex Elder <elder@xxxxxxxxxx>

greybus-dev mailing list -- greybus-dev@xxxxxxxxxxxxxxxx
To unsubscribe send an email to greybus-dev-leave@xxxxxxxxxxxxxxxx

[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux