[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200116133805.GC19046@lunn.ch>
Date: Thu, 16 Jan 2020 14:38:05 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Alexandru Ardelean <alexandru.ardelean@...log.com>
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, davem@...emloft.net,
f.fainelli@...il.com, hkallweit1@...il.com
Subject: Re: [PATCH 2/4] net: phy: adin: rename struct adin_hw_stat ->
adin_map
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
Powered by blists - more mailing lists