Re: [PATCH] sysdev: remove global sysdev drivers list

From: Cornelia Huck
Date: Mon Aug 20 2007 - 07:21:01 EST


On Sun, 19 Aug 2007 16:51:14 +0900,
Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:

> From: Akinobu Mita <akinobu.mita@xxxxxxxxx>
> Subject: [PATCH] sysdev: remove global sysdev drivers list
>
> No one uses sysdev_drivers. Because no one calls sysdev_driver_register
> with NULL class.
>
> And it is difficult to imagine that someone want to implement a global
> sysdev driver which is called with all sys_device on any kind of
> sysdev_class.
>
> So this patch removes global sysdev_drivers list and update comments
> for this change.
>
> Cc: Tejun Heo <htejun@xxxxxxxxx>
> Cc: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>
>
> ---
> drivers/base/sys.c | 71 ++++++++++-------------------------------------------
> 1 file changed, 14 insertions(+), 57 deletions(-)

Acked-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
-
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/