[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210621094443.GA4425@alpha.franken.de>
Date: Mon, 21 Jun 2021 11:44:43 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org
Subject: Re: [PATCH -next] MIPS: OCTEON: octeon-usb: Use
devm_platform_get_and_ioremap_resource()
On Sat, Jun 05, 2021 at 03:55:37PM +0800, Yang Yingliang wrote:
> Remove unneeded error handling on the result of a call
> to platform_get_resource() when the value is passed to
> devm_ioremap_resource().
>
> And use devm_platform_get_and_ioremap_resource() to simplify
> code.
>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> ---
> arch/mips/cavium-octeon/octeon-usb.c | 9 +--------
> 1 file changed, 1 insertion(+), 8 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