leds: ns2: cosmetic change: use helper variable
authorMarek Behún <marek.behun@nic.cz>
Thu, 17 Sep 2020 22:33:32 +0000 (00:33 +0200)
committerPavel Machek <pavel@ucw.cz>
Sat, 26 Sep 2020 19:56:42 +0000 (21:56 +0200)
commitb3f96922839a589e8417c31a1837f78382d3f0ab
tree0a8a0c18ce7d1fe03b2cac65b94f456fe60cb78c
parenta2fc703cc955c6b4b6c7fbed42df62bbadc46422
leds: ns2: cosmetic change: use helper variable

Use helper variable dev instead of always writing &pdev->dev.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: Simon Guinot <sguinot@lacie.com>
Cc: Vincent Donnefort <vdonnefort@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-ns2.c