Re: [PATCH v6 158/164] staging: greybus: pwm: Drop unused gb_connection_set_data()

Greg Kroah-Hartman
2024-02-14T10:40:57Z

On Wed, Feb 14, 2024 at 10:33:25AM +0100, Uwe Kleine-König wrote:
> The driver never calls gb_connection_get_data(). If there was another
> caller (say the greybus core) it cannot use the value because the type
> of pwmc (= struct gb_pwm_chip) is only defined in the pwm driver.
>
> So drop the call to gb_connection_set_data().
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>