Re: [PATCH 3/3] Drop platform sysfs support

From: Alan Jenkins
Date: Tue Aug 18 2009 - 04:43:44 EST


On 8/18/09, Mario Limonciello <mario_limonciello@xxxxxxxx> wrote:
> With rfkill support being added, the platform support is no longer
> necessary. Standard rfkill interfaces can be used to administer the box
> now.
> --
> Mario Limonciello
> *Dell | Linux Engineering*
> mario_limonciello@xxxxxxxx
>

-static struct platform_device *compal_device;

I don't think this is the right way to go. I don't object to removing
the sysfs attributes, but the platform device can still be useful as a
parent device to the rfkill and backlight devices. (See my earlier
comment on the use of rfkill_allocate()).

In practice I suspect it makes no difference that the rfkill and
backlight devices are exported as virtual devices with no physical
parent. I just don't think it's "right" :-).

Thanks
Alan
--
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/