Re: [PATCH] Export device_add_attributes() so drivers can use it.

From: Grant Likely
Date: Wed Feb 18 2009 - 10:46:19 EST


On Wed, Feb 18, 2009 at 8:29 AM, Greg KH <gregkh@xxxxxxx> wrote:
> On Wed, Feb 18, 2009 at 08:11:34AM -0700, Grant Likely wrote:
>> From: Grant Likely <grant.likely@xxxxxxxxxxxx>
>>
>> I find myself using the pattern of device_add_attributes() and
>> device_remove_attributes() frequently in my drivers. Rather than
>> reinventing the wheel every time, I'm floating this patch to export
>> the symbols to see how it is received. If this looks okay then I'll
>> rework my drivers and post additional patches to use these functions.
>
> No objection from me, as long as the symbols are EXPORT_SYMBOL_GPL(),
> like the rest of the driver core. Is that ok with you?

Fine by me. I'll rework the patch.

g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/