]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: use devm_kzalloc() for serdes debugfs setup
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 14 Dec 2025 09:07:38 +0000 (10:07 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 15 Dec 2025 08:30:03 +0000 (09:30 +0100)
commitbcbf4bd8acd2f05850ed64e7900a68af79e1a774
tree4b2d7bd7239d2a0c6855bad5594fcb4a8636bab5
parent77b47f33e58da08d7038457972341460c9d30632
realtek: use devm_kzalloc() for serdes debugfs setup

This will free memory automatically during driver unloading.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21157
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit a4011797c2fb160a696edfc29993c78ab5edc3d1)
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c