[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200918134842.GA19202@alpha.franken.de>
Date: Fri, 18 Sep 2020 15:48:42 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Qinglang Miao <miaoqinglang@...wei.com>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] MIPS: OCTEON: use devm_platform_ioremap_resource
On Wed, Sep 16, 2020 at 02:21:27PM +0800, Qinglang Miao wrote:
> Note that error handling on the result of a call to platform_get_resource()
> is unneeded when the value is passed to devm_ioremap_resource(), so remove
> it. Then use the helper function that wraps the calls to platform_get_resource()
> and devm_ioremap_resource() together.
>
> Signed-off-by: Qinglang Miao <miaoqinglang@...wei.com>
> ---
> arch/mips/cavium-octeon/octeon-usb.c | 10 +---------
> 1 file changed, 1 insertion(+), 9 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists