[PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration

Guenter Roeck linux at roeck-us.net
Wed Feb 12 11:41:34 EST 2014


On Wed, Feb 12, 2014 at 11:56:36AM +0000, Pawel Moll wrote:
> 
> > I agree with Arnd that it would be nice to get rid of the local macro,
> > but I won't mandate that.
> 
> I actually prefer to have the structures unfolded, but was just trying
> to mimic the trend in other hwmon drivers. No problem - will change this
> gladly.
> 
In general we tend to discourage people to use their own macros -
most of the time it just makes the code more difficult to read.

Guenter



More information about the linux-arm-kernel mailing list