summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/bpf.py
diff options
context:
space:
mode:
authorKartik Rajput <kkartik@nvidia.com>2025-10-24 09:49:50 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-12-09 00:26:41 +0300
commitb665c1b620e75e85ea85215735130fd4597bc47f (patch)
tree57a141e109f4f4382409a0f3cc8e8e0097826812 /scripts/gdb/linux/bpf.py
parent53e71c177cd84982138457b617342f68511e0b64 (diff)
downloadlinux-b665c1b620e75e85ea85215735130fd4597bc47f.tar.xz
rtc: tegra: Use devm_clk_get_enabled() in probe
Simplify clock management by replacing devm_clk_get() and manual clock enable/disable with devm_clk_get_enabled(). This also simplifies the error handling logic. Also remove tegra_rtc_remove() as the clock will automatically be disabled when the device is unbound from the bus. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Kartik Rajput <kkartik@nvidia.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20251024064952.775883-1-kkartik@nvidia.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/gdb/linux/bpf.py')
0 files changed, 0 insertions, 0 deletions