On Fri Feb 14, 2025 at 4:10 PM CET, Andy Shevchenko wrote: > On Fri, Feb 14, 2025 at 12:49:53PM +0100, mathieu.dubois-briand@xxxxxxxxxxx wrote: > > From: Kamel Bouhara <kamel.bouhara@xxxxxxxxxxx> > > > > Add driver for Maxim Integrated MAX7360 PWM controller, supporting up to > > 8 independent PWM outputs. > > ... > > > +#include <linux/of.h> > > Is this used? Cargo cult? > Right, not used anymore. > > > +struct max7360_pwm { > > > + struct device *parent; > > Is it not the same as you can derive from regmap? > It is. I'm removing it. Also, max7360_pwm structure will only contain the regmap, so I will remove the structure and set the regmap directly as the pwm chip driver data. > ... > I have fixed all other points. Thanks for your review! -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com