Re: [PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-18 Thread Greg Kroah-Hartman
On Mon, Feb 17, 2025 at 07:10:54PM +0100, Jerome Brunet wrote: > On Sat 15 Feb 2025 at 07:53, Greg Kroah-Hartman > wrote: > > [...] > > >> > >> > > >> >> + int id) > >> >> +{ > >> >> + struct auxiliary_device *auxdev; > >> >> +

Re: [PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-17 Thread Jerome Brunet
On Sat 15 Feb 2025 at 07:53, Greg Kroah-Hartman wrote: [...] >> >> > >> >> + int id) >> >> +{ >> >> + struct auxiliary_device *auxdev; >> >> + int ret; >> >> + >> >> + auxdev = kzalloc(sizeof(*auxdev), GFP_KERNEL); >> >> + if (!auxdev) >> >> +

Re: [PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-14 Thread Greg Kroah-Hartman
On Fri, Feb 14, 2025 at 07:16:30PM +0100, Jerome Brunet wrote: > On Fri 14 Feb 2025 at 17:33, Greg Kroah-Hartman > wrote: > > > On Tue, Feb 11, 2025 at 06:27:58PM +0100, Jerome Brunet wrote: > >> Add helper functions to create a device on the auxiliary bus. > >> > >> This is meant for fairly si

Re: [PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-14 Thread Jerome Brunet
On Fri 14 Feb 2025 at 17:33, Greg Kroah-Hartman wrote: > On Tue, Feb 11, 2025 at 06:27:58PM +0100, Jerome Brunet wrote: >> Add helper functions to create a device on the auxiliary bus. >> >> This is meant for fairly simple usage of the auxiliary bus, to avoid having >> the same code repeated in

Re: [PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-14 Thread Greg Kroah-Hartman
On Tue, Feb 11, 2025 at 06:27:58PM +0100, Jerome Brunet wrote: > Add helper functions to create a device on the auxiliary bus. > > This is meant for fairly simple usage of the auxiliary bus, to avoid having > the same code repeated in the different drivers. > > Suggested-by: Stephen Boyd > Cc: A

[PATCH v3 1/7] driver core: auxiliary bus: add device creation helpers

2025-02-11 Thread Jerome Brunet
Add helper functions to create a device on the auxiliary bus. This is meant for fairly simple usage of the auxiliary bus, to avoid having the same code repeated in the different drivers. Suggested-by: Stephen Boyd Cc: Arnd Bergmann Signed-off-by: Jerome Brunet --- drivers/base/auxiliary.c