From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH 14/16] can: mpc5xxx_can: don't treat NULL clk as an error Date: Tue, 11 Jan 2011 16:18:16 +0100 Message-ID: <20110111151816.GC25741@pengutronix.de> References: <1294749833-32019-1-git-send-email-jamie@jamieiles.com> <1294749833-32019-15-git-send-email-jamie@jamieiles.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Jamie Iles Return-path: Content-Disposition: inline In-Reply-To: <1294749833-32019-15-git-send-email-jamie@jamieiles.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 11, 2011 at 12:43:51PM +0000, Jamie Iles wrote: > clk_get() returns a struct clk cookie to the driver and some platforms > may return NULL if they only support a single clock. clk_get() has only > failed if it returns a ERR_PTR() encoded pointer. >=20 > Cc: netdev@vger.kernel.org > Signed-off-by: Jamie Iles Reviewed-by: Wolfram Sang --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk0sdLgACgkQD27XaX1/VRtQnACbBVlCmsALlYDz/7pb+2JF76Tc XNYAn21sV5OOiMGT5GxfJdwTzkroVCWt =LJdm -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh--