Messages in this thread | | | Date | Mon, 21 Jun 2021 11:44:43 +0200 | From | Thomas Bogendoerfer <> | 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@huawei.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 ]
| |