If device_register() fails then call put_device().
See comment to device_register.
Signed-off-by: Vasiliy Kulikov
---
compile tested.
drivers/pcmcia/cs.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index d8189d4..9e8ab51 10
On Sun, Sep 19, 2010 at 04:54:55PM +0400, Vasiliy Kulikov wrote:
> If device_register() fails then call put_device().
> See comment to device_register.
>
> Signed-off-by: Vasiliy Kulikov
Acked-by: Dominik Brodowski
Thanks,
Dominik
___
Linux P