Re: [PATCH 2/4] net: phy: adin: rename struct adin_hw_stat -> adin_map

From: Andrew Lunn
Date: Thu Jan 16 2020 - 08:38:11 EST


On Thu, Jan 16, 2020 at 11:14:52AM +0200, Alexandru Ardelean wrote:
> The structure format will be re-used in an upcoming change. This change
> renames to have a more generic name.

NACK.

Defining a new structure does not cost you anything. And you get type
checking, so if you were to pass a adin_map adin_ge_io_pins to a stats
function, the compiler will warn.

Andrew