Hi Werner,

On Wed, May 08, 2013 at 05:11:52PM -0300, Werner Almesberger wrote:
> Alexander Aring wrote:
> > maybe it is better to preserve the current design of platform_data handling
> > on.
> 
> Yeah, I thought we don't actually need the copying in at86rf230_fill_data
> since we don't change the values obtained from the platform data, but
> then, platform data could be initdata and thus become unavailable later
> on.
> 
> Thanks for catching this one ! Fix coming soon.
> 

Yes, it can be unavailable later.

> > I was thinking about to add a union for 'int rstn' and the function_pointer,
> > then we can set a gpio rstn xor reset handler, but this will make some
> > overhead in the implementation...
> 
> If you really want to squeeze out the last few bytes, reset_data and
> rstn could share a union. But that's probably not worth the ugliness.
>

agree, this one looks good. :-)

Regards
Alex

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to