net: stmmac: Make ptp_clk_freq_config variable type explicit
authorAndrew Halaney <ahalaney@redhat.com>
Tue, 25 Jul 2023 21:04:25 +0000 (16:04 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Jul 2023 03:32:57 +0000 (20:32 -0700)
commitd928d14be6514af9da37009c2091270c5c714366
tree84d973b29efb5a6087d356152b93d047b93f9d52
parent5908a4c47c9c8d7898841dc3dd2e70aa5d91bc05
net: stmmac: Make ptp_clk_freq_config variable type explicit

The priv variable is _always_ of type (struct stmmac_priv *), so let's
stop using (void *) since it isn't abstracting anything.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230725211853.895832-3-ahalaney@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
include/linux/stmmac.h