Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756508Ab3ENCge (ORCPT ); Mon, 13 May 2013 22:36:34 -0400 Received: from ringil.hengli.com.au ([178.18.16.133]:43971 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756492Ab3ENCgb (ORCPT ); Mon, 13 May 2013 22:36:31 -0400 Date: Tue, 14 May 2013 10:36:28 +0800 From: Herbert Xu To: Jingoo Han Cc: linux-kernel@vger.kernel.org, "'Matt Mackall'" Subject: Re: [PATCH 1/4] hwrng: atmel - remove unnecessary platform_set_drvdata() Message-ID: <20130514023627.GE19306@gondor.apana.org.au> References: <004601ce4a13$60fa6620$22ef3260$@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004601ce4a13$60fa6620$22ef3260$@samsung.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 18 On Mon, May 06, 2013 at 01:37:13PM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually clear the device driver data to NULL. > > Signed-off-by: Jingoo Han All applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/