[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191112053619.GA1210104@kroah.com>
Date: Tue, 12 Nov 2019 06:36:19 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andreas Färber <afaerber@...e.de>
Cc: Hartley Sweeten <hsweeten@...ionengravers.com>,
Alexander Sverdlin <alexander.sverdlin@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Russell King <linux@...linux.org.uk>
Subject: Re: [PATCH] ARM: ep93xx: Avoid soc_device_to_device()
On Mon, Nov 11, 2019 at 11:37:22PM +0100, Andreas Färber wrote:
> ep93xx_init_soc() uses soc_device_to_device() to return a device
> to ep93xx_init_devices(), where it is passed on to its callers,
> who all ignore the return value. As this helper is deprecated,
> change the return type of ep93xx_init_devices() to void and
> have ep93xx_init_soc() return the soc_device instead.
>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Andreas Färber <afaerber@...e.de>
> ---
> arch/arm/mach-ep93xx/core.c | 12 ++++--------
> arch/arm/mach-ep93xx/platform.h | 2 +-
> 2 files changed, 5 insertions(+), 9 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists