Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757346Ab3ENL5E (ORCPT ); Tue, 14 May 2013 07:57:04 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:43219 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753138Ab3ENL5C (ORCPT ); Tue, 14 May 2013 07:57:02 -0400 MIME-Version: 1.0 In-Reply-To: <001f01ce4a0b$b21c5520$1654ff60$@samsung.com> References: <001f01ce4a0b$b21c5520$1654ff60$@samsung.com> Date: Tue, 14 May 2013 13:57:02 +0200 Message-ID: Subject: Re: [PATCH 2/4] pinctrl: mxs: remove unnecessary platform_set_drvdata() From: Linus Walleij To: Jingoo Han Cc: "linux-kernel@vger.kernel.org" , Fabio Estevam , Shawn Guo Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 18 On Mon, May 6, 2013 at 5:42 AM, 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 Patch applied with Shawn's ACK. Thanks! Linus Walleij -- 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/