mbox series

[0/2] hwmon: (aspeed-g6-pwm-tacho): Prepare for further pwm core changes

Message ID cover.1710777536.git.u.kleine-koenig@pengutronix.de (mailing list archive)
Headers show
Series hwmon: (aspeed-g6-pwm-tacho): Prepare for further pwm core changes | expand

Message

Uwe Kleine-König March 18, 2024, 4:09 p.m. UTC
Hello,

there is a pending rework for the pwm framework[1] that requires a
preparatory change for all pwm drivers. When creating them I wasn't
aware of the aspeed-g6-pwm-tacho driver, just found this now while doing
build tests with my series.

To not delay application of my series, I'd like to take the two patches
from this series via my pwm tree.

To state the (maybe) obvious: This series depends on the following commits:

	7e1449cd15d1 "hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach"
	024913dbf99f pwm: Provide pwmchip_alloc() function and a devm variant of it
	4e59267c7a20 pwm: Provide an inline function to get the parent device of a given chip

The earliest commit containing all those is:

	15223fdbdf4f "Merge tag 'hwmon-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging"

Best regards
Uwe

[1] https://lore.kernel.org/linux-pwm/cover.1710670958.git.u.kleine-koenig@pengutronix.de

Uwe Kleine-König (2):
  hwmon: (aspeed-g6-pwm-tacho): Make use of pwmchip_parent() accessor
  hwmon: (aspeed-g6-pwm-tacho): Make use of devm_pwmchip_alloc()
    function

 drivers/hwmon/aspeed-g6-pwm-tach.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

base-commit: f6cef5f8c37f58a3bc95b3754c3ae98e086631ca

Comments

Uwe Kleine-König April 13, 2024, 8:33 a.m. UTC | #1
Hello,

On Mon, Mar 18, 2024 at 05:09:48PM +0100, Uwe Kleine-König wrote:
> there is a pending rework for the pwm framework[1] that requires a
> preparatory change for all pwm drivers. When creating them I wasn't
> aware of the aspeed-g6-pwm-tacho driver, just found this now while doing
> build tests with my series.
> 
> To not delay application of my series, I'd like to take the two patches
> from this series via my pwm tree.
> 
> To state the (maybe) obvious: This series depends on the following commits:
> 
> 	7e1449cd15d1 "hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach"
> 	024913dbf99f pwm: Provide pwmchip_alloc() function and a devm variant of it
> 	4e59267c7a20 pwm: Provide an inline function to get the parent device of a given chip
> 
> The earliest commit containing all those is:
> 
> 	15223fdbdf4f "Merge tag 'hwmon-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging"

I applied this series with Guenter's ack to my branch at
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
. (Honestly I already did that a while ago, only noticed now that I
didn't explicitly tell about that.)

Thanks
Uwe