net: lan743x: convert to ndo_hwtstamp_set()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 14 May 2025 15:19:29 +0000 (18:19 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 May 2025 00:56:38 +0000 (17:56 -0700)
commit958a857a626cd9144889a66115eb4230d922a2f5
treee788e434fa00881f541a303585973158328e188c
parent87948df5af4bb27effb0a187abaf54f41a54fe35
net: lan743x: convert to ndo_hwtstamp_set()

New timestamping API was introduced in commit 66f7223039c0 ("net: add
NDOs for configuring hardware timestamping") from kernel v6.6.

It is time to convert the lan743x driver to the new API, so that
timestamping configuration can be removed from the ndo_eth_ioctl()
path completely.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250514151931.1988047-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan743x_main.c
drivers/net/ethernet/microchip/lan743x_ptp.c
drivers/net/ethernet/microchip/lan743x_ptp.h