ptp: ptp_ines: Use generic helper function
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 18 Aug 2020 10:32:50 +0000 (12:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2020 23:09:19 +0000 (16:09 -0700)
commit9087da5dcb3d14e5f10c0e24896cbba4b684ddd8
treeadb657b59cef8c64de0315600185fdd33d4bda43
parent38fa7d039fe095b5e516476694c4d5550e656b85
ptp: ptp_ines: Use generic helper function

In order to reduce code duplication between ptp drivers, generic helper
functions were introduced. Use them.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ines.c