commit | 23666a74c9f552bc9cfef20ded1b8b29bedb80c6 | [log] [tgz] |
---|---|---|
author | Huang Shijie <b32955@freescale.com> | Tue Sep 11 15:30:30 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 11 12:21:33 2012 -0700 |
tree | 928253889b5fa1e00a59ad72e2d2ca1ad0bc2d9f | |
parent | cdd86b277dc82220aa630414896505517a02a201 [diff] |
serial: mxs-auart: put the device in the error path The mxs_auart_probe() gets the device by the get_device(). So we should put the device in the error path to balance the device's reference counter. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>