renesas: missing unlock on error path
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 24 Jun 2015 14:32:54 +0000 (17:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2015 09:13:02 +0000 (02:13 -0700)
commit5102e237912adf5c826cc7421fe25da66d293e94
tree398cef76c42f42581a12ea34c0e5669579ec7cef
parentbe35ffa38e48da6402f08e10988dc9969ca92962
renesas: missing unlock on error path

We need to unlock before returning here.

Fixes: a0d2f20650e8 ('Renesas Ethernet AVB PTP clock driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_ptp.c