Re: Add a private_data pointer to struct device_attribute

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Timur Tabi <timur@...>
Cc: <linux-kernel@...>
Date: Friday, November 16, 2007 - 9:06 pm

On Fri, Nov 16, 2007 at 06:11:00PM -0600, Timur Tabi wrote:

Huh?  Why is this needed?  Can you give me a usage case for it?  Why
would you just not use the pointer to the attribute itself to identify
it?  All device specific information should be stored in the struct
device structure, as that is what describes the device, not the
attribute.

confused,

greg k-h
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Add a private_data pointer to struct device_attribute, Greg KH, (Fri Nov 16, 9:06 pm)