]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: change return type for gem_ptp_set_one_step_sync()
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 8 Jun 2022 08:08:18 +0000 (11:08 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jun 2022 11:18:17 +0000 (13:18 +0200)
commitbe09d2530bb9789a39bc2c7d31e3edec0f198bf2
treef55ee0f8c93a20cbad2e951474a177ade2d3efdb
parentbc27b4523109527131e12d4698fb48f33305ecf9
net: macb: change return type for gem_ptp_set_one_step_sync()

gem_ptp_set_one_step_sync() always returns zero thus change its return
type to void.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220608080818.1495044-1-claudiu.beznea@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cadence/macb_ptp.c