On Sun, Sep 19, 2010 at 04:54:58PM +0400, Vasiliy Kulikov wrote: > If device_register() fails then call put_device(). > See comment to device_register. > > Signed-off-by: Vasiliy Kulikov <segooon at gmail.com> Acked-by: Dominik Brodowski <linux at dominikbrodowski.net> Thanks, Dominik