commit | 4c350c658f946dae81dbbaff25da0a03e9bb0c4b | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 04 22:35:21 2022 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Thu May 05 10:04:52 2022 +0200 |
tree | 59c458b9eb904315123b3789acec5e8f673215f3 | |
parent | 5a71917f3b43b9fd6d6ff7b0622a85153bf184cb [diff] |
leds: regulator: Add dev helper variable Instead of repeating the hard to read &pdev->dev just create a local struct device *dev in probe(). Cc: Antonio Ospite <ao2@ao2.it> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>