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

From: nsaenzju
Date: Wed Nov 03 2021 - 12:53:48 EST


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