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@xxxxxxxxxx> > --- > 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 ]