[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2787339.ybXZAN0ltf@harkonnen>
Date: Tue, 12 Jun 2012 16:53:10 +0200
From: Federico Vaga <federico.vaga@...il.com>
To: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: Wolfgang Grandegger <wg@...ndegger.com>,
Giancarlo Asnaghi <giancarlo.asnaghi@...com>,
Alan Cox <alan@...ux.intel.com>,
Alessandro Rubini <rubini@...dd.com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC] c_can_pci: generic module for c_can on PCI
> > +out_free_clock:
> > + if (!priv->priv)
> > + clk_put(priv->priv);
>
> Why do you call clk_put on priv->priv, if priv->priv is NULL?
Right!
if(priv->priv)
clk_put(priv->priv);
--
Federico Vaga
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists