summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-02-15 14:42:39 +0100
committerLinus Walleij <linus.walleij@linaro.org>2023-03-06 13:52:34 +0100
commit415a099ea55ae716b69beefdcaa654b96087c016 (patch)
treee0ece0254cfe5c0d3c5ee110db58d2210ad5b8c3 /Kbuild
parentpinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2) (diff)
downloadlinux-415a099ea55ae716b69beefdcaa654b96087c016.tar.xz
linux-415a099ea55ae716b69beefdcaa654b96087c016.zip
pinctrl: at91: Don't mix non-devm calls with devm ones
Replace devm_clk_get() by devm_clk_get_enabled() and drop unneeded code pieces. This will make sure we keep the ordering of the resource allocation correct. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230215134242.37618-3-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions