From: Jakub Kicinski Date: Thu, 22 Jan 2026 02:57:09 +0000 (-0800) Subject: Merge branch 'add-devm_clk_bulk_get_optional_enable-helper-and-use-in-axi-ethernet... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938b404e25d67be9004b3c853afa4a2e9723fe5b;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'add-devm_clk_bulk_get_optional_enable-helper-and-use-in-axi-ethernet-driver' Suraj Gupta says: ==================== Add devm_clk_bulk_get_optional_enable() helper and use in AXI Ethernet driver This patch series introduces a new managed clock framework helper function and demonstrates its usage in AXI ethernet driver. Device drivers frequently need to get optional bulk clocks, prepare them, and enable them during probe, while ensuring automatic cleanup on device unbind. Currently, this requires three separate operations with manual cleanup handling. The new devm_clk_bulk_get_optional_enable() helper combines these operations into a single managed call, eliminating boilerplate code and following the established pattern of devm_clk_bulk_get_all_enabled(). ==================== Link: https://patch.msgid.link/20260116192725.972966-1-suraj.gupta2@amd.com Signed-off-by: Jakub Kicinski --- 938b404e25d67be9004b3c853afa4a2e9723fe5b