From: Huang Shijie Date: Tue, 11 Sep 2012 07:30:30 +0000 (+0800) Subject: serial: mxs-auart: put the device in the error path X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23666a74c9f552bc9cfef20ded1b8b29bedb80c6;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed