Re: [PATCH 2/5] uio: Don't clear driver data

From: Hans J. Koch
Date: Fri Sep 17 2010 - 16:50:47 EST


On Fri, Sep 17, 2010 at 10:33:57PM +0200, Thomas Gleixner wrote:
>
>
> On Tue, 14 Sep 2010, Eric W. Biederman wrote:
>
> >
> > Currently uio sets it's driver data to NULL just as it is unregistering
> > attributes. sysfs maks the guaranatee that it will not call attributes
>
> s/maks/makes/
>
> > after device_destroy is called so this is unncessary and leads to lots
> > of unnecessary code in uio.c
> >
> > Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxxxxxxxx>
>
> Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Signed-off-by: Hans J. Koch <hjk@xxxxxxxxxxxxx>

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