From patchwork Mon May 20 08:38:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17052 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f198.google.com (mail-gh0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8337C20F30 for ; Mon, 20 May 2013 08:53:20 +0000 (UTC) Received: by mail-gh0-f198.google.com with SMTP id r13sf7328290ghr.9 for ; Mon, 20 May 2013 01:52:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=XZg732/wcBjsQAlrmd13JRHIvkYcUv2+Z7927Y6//mA=; b=M9VfKN6MYBL9u0NIRTbciF4HNo3AsN8teofaFWgYvkBGhxNoiJIDXD6qFF9sOFF3+3 Rm01S7bzdpnQ59urkD34JHlPCtLtDq+yiXYBLJBt+PlzN8P8Ip2nJfZPi2m9wT67jgx1 qvtjJpCTem8rbJ1tdl5aQWzh+g0c8v70LfemnLVSeSe4W0grX3/xwuokT8v7yAkvmc/l JndtG9iqhm+ZPU+L22fllgoFkuGrA30j0kP7KBXJfIlfBaioW2bAFciNDunnmRPFYtPk 3Eh6Mv5geRyKjm/RTf+yftZFYQTRI/v+D3xhwHxGcKRRNyXHUgrxHZIklxIbvkMYPfr9 2afA== X-Received: by 10.236.120.166 with SMTP id p26mr29200215yhh.57.1369039952376; Mon, 20 May 2013 01:52:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.134.99 with SMTP id pj3ls2630639qeb.93.gmail; Mon, 20 May 2013 01:52:32 -0700 (PDT) X-Received: by 10.52.249.41 with SMTP id yr9mr13990296vdc.17.1369039952222; Mon, 20 May 2013 01:52:32 -0700 (PDT) Received: from mail-vb0-x236.google.com (mail-vb0-x236.google.com [2607:f8b0:400c:c02::236]) by mx.google.com with ESMTPS id u7si11241855vco.34.2013.05.20.01.52.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:32 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::236; Received: by mail-vb0-f54.google.com with SMTP id f13so1171487vbg.41 for ; Mon, 20 May 2013 01:52:32 -0700 (PDT) X-Received: by 10.58.90.5 with SMTP id bs5mr33151116veb.60.1369039952007; Mon, 20 May 2013 01:52:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp73753vcs; Mon, 20 May 2013 01:52:31 -0700 (PDT) X-Received: by 10.66.121.108 with SMTP id lj12mr57391133pab.51.1369039950897; Mon, 20 May 2013 01:52:30 -0700 (PDT) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [2607:f8b0:400e:c01::22a]) by mx.google.com with ESMTPS id xl4si10760056pab.80.2013.05.20.01.52.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:30 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22a is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22a; Received: by mail-pb0-f42.google.com with SMTP id uo1so721103pbc.1 for ; Mon, 20 May 2013 01:52:30 -0700 (PDT) X-Received: by 10.68.213.101 with SMTP id nr5mr59028506pbc.22.1369039950303; Mon, 20 May 2013 01:52:30 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ya4sm23252056pbb.24.2013.05.20.01.52.27 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:29 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, perex@perex.cz, sachin.kamat@linaro.org, patches@linaro.org, Eric Miao Subject: [PATCH 01/11] ALSA: pxa2xx-ac97: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:34 +0530 Message-Id: <1369039124-32590-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkob8ZsK5puQRU4Ysa7qZFkF3zJm4QAVJDrHK5n5W8piMRwtvjwaUmXMYroWTAs6qTvNUeQ X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Eric Miao --- sound/arm/pxa2xx-ac97.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index ec54be4..ce431e6 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c @@ -230,7 +230,6 @@ static int pxa2xx_ac97_remove(struct platform_device *dev) if (card) { snd_card_free(card); - platform_set_drvdata(dev, NULL); pxa2xx_ac97_hw_remove(dev); }