lkml.org 
[lkml]   [2014]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration
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


\
 
 \ /
  Last update: 2014-02-13 10:41    [W:0.067 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site