From: Jakub Kicinski Date: Tue, 15 Apr 2025 15:36:04 +0000 (-0700) Subject: Merge branch 'net-stmmac-anarion-cleanups' X-Git-Tag: v6.16-rc1~132^2~296 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d9bc1a464028e279e72141ff1edef240bb01563;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'net-stmmac-anarion-cleanups' Russell King says: ==================== net: stmmac: anarion: cleanups A series of cleanups to the anarion glue driver. Clean up anarion_config_dt() error handling, printing a human readable error rather than the numeric errno, and use ERR_CAST(). Using a switch statement with incorrect "fallthrough;" for RGMII vs non-RGMII is unnecessary when we have phy_interface_mode_is_rgmii(). Convert to use the helper. Use stmmac_pltfr_probe() rahter than open-coding the call to the init function (which stmmac_pltfr_probe() will do for us.) Finally, convert to use devm_stmmac_pltfr_probe() which allows the removal of the .remove initialiser in the driver structure. Not tested on hardware. ==================== Link: https://patch.msgid.link/Z_zP9BvZlqeq3Ssl@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski --- 9d9bc1a464028e279e72141ff1edef240bb01563