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

Andrew Lunn
2020-01-16T13:38:10Z

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