Re: [PATCH 1/5] drivers/mfd: sensehat: Raspberry Pi Sense HAT core driver

nsaenzju
2021-11-03T16:53:48Z

On Wed, 2021-11-03 at 17:33 +0100, Matthias Brugger wrote:
> > +
> > + sensehat->joystick.pdev = sensehat_client_dev_register(sensehat,
> > + "sensehat-joystick");
>
> Why don't you use devm_mfd_add_devices function together with mfd_cell?

To complete Matthias' comment, why not use simple-mfd-i2c?

--
Nicolás Sáenz