From patchwork Fri May 3 09:09:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16615 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f200.google.com (mail-ye0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E590223905 for ; Fri, 3 May 2013 09:22:39 +0000 (UTC) Received: by mail-ye0-f200.google.com with SMTP id r9sf649014yen.11 for ; Fri, 03 May 2013 02:22:30 -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 :in-reply-to:references: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=VnUSf4Q/WwTsX7/rv+hn1msGuYAXCKurETdFknICQI4=; b=VmV7ZeFhpF60TsvHhUxalOiMDf7TZsxb5vwwyGmQhWV8bZnxR8q1nXcnrpmgU/g6or Im3r1fKHDu9QqIKyLHjXWoEDho8wNmuR6kmWPSzxcDRJcm1bnokjii5ALKWPIWW43o9U FwJhQV2xOkETD/KYGobYTbvng8IcvD425LSkttlFVfp1SvzZFRMVX93Le+NOfaKlW3ol w5AkKW+pL08BPK6vOfWN7a3+lKdrDNuN80OnjGOf1bELl5BWqwNrjyO1kZpDIHphfNN7 AvLZo5sV9055Eg9QRbL9Kymzm9CGLGKvfimB69j2JHldadvaIIWVAg7yaj5QnOf40Nue CP0g== X-Received: by 10.236.78.103 with SMTP id f67mr7974518yhe.52.1367572950474; Fri, 03 May 2013 02:22:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.133.234 with SMTP id pf10ls1724842qeb.21.gmail; Fri, 03 May 2013 02:22:30 -0700 (PDT) X-Received: by 10.52.67.11 with SMTP id j11mr2829291vdt.87.1367572950305; Fri, 03 May 2013 02:22:30 -0700 (PDT) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [2607:f8b0:400c:c01::232]) by mx.google.com with ESMTPS id by3si1122842vdc.108.2013.05.03.02.22.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:30 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::232 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:c01::232; Received: by mail-ve0-f178.google.com with SMTP id jy13so1323006veb.9 for ; Fri, 03 May 2013 02:22:30 -0700 (PDT) X-Received: by 10.58.48.166 with SMTP id m6mr3314588ven.59.1367572950127; Fri, 03 May 2013 02:22:30 -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.58.127.98 with SMTP id nf2csp13216veb; Fri, 3 May 2013 02:22:29 -0700 (PDT) X-Received: by 10.66.163.229 with SMTP id yl5mr13724389pab.104.1367572947038; Fri, 03 May 2013 02:22:27 -0700 (PDT) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id wo2si7324569pab.262.2013.05.03.02.22.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id jh10so834961pab.17 for ; Fri, 03 May 2013 02:22:26 -0700 (PDT) X-Received: by 10.66.51.102 with SMTP id j6mr13403470pao.210.1367572946617; Fri, 03 May 2013 02:22:26 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ea15sm12070993pad.16.2013.05.03.02.22.23 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:26 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@kernel.org, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org, Vinod Koul Subject: [PATCH 3/6] ASoC: mid-x86: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 14:39:21 +0530 Message-Id: <1367572164-19523-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367572164-19523-1-git-send-email-sachin.kamat@linaro.org> References: <1367572164-19523-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQm73Pk02KS1/1USoPXtqGic+FnW0cAf5QtSgFAZgN2FddFFoHoD+lUVpkcadotOYIg1nR1+ X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::232 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: Vinod Koul --- sound/soc/mid-x86/mfld_machine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c index 4139116..78d5825 100644 --- a/sound/soc/mid-x86/mfld_machine.c +++ b/sound/soc/mid-x86/mfld_machine.c @@ -425,7 +425,6 @@ static int snd_mfld_mc_remove(struct platform_device *pdev) free_irq(platform_get_irq(pdev, 0), mc_drv_ctx); snd_soc_unregister_card(&snd_soc_card_mfld); kfree(mc_drv_ctx); - platform_set_drvdata(pdev, NULL); return 0; }