Re: [PATCH 1/2] platform: provide early_platform_add_device()

From: Greg Kroah-Hartman
Date: Mon Apr 23 2018 - 08:03:42 EST


On Fri, Apr 20, 2018 at 06:39:23PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> Currently we only have early_platform_add_devices() which takes struct
> platform_device ** as argument, requiring the users to have an
> intermediate array of platform_device pointers even if we're only
> adding a single device. Provide a helper for adding a single device at
> a time.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Feel free to take these with your driver cleanups:

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>