leds: bcm6328: Use devm_platform_ioremap_resource() in bcm6328_leds_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 20 Sep 2019 12:30:31 +0000 (14:30 +0200)
committerPavel <pavel@ucw.cz>
Sun, 3 Nov 2019 16:37:19 +0000 (17:37 +0100)
commitbe9f18eef60197a0da8bc514f7bb9512dbc04c48
tree7f2d179a47755a3441e241512185860537f035a3
parentb46d2b4d3d8166ab51f491a2801e2cbed2e8a7aa
leds: bcm6328: Use devm_platform_ioremap_resource() in bcm6328_leds_probe()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-bcm6328.c