From patchwork Fri May 3 09:09:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16616 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE96825DFE for ; Fri, 3 May 2013 09:22:40 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hq12sf710453wib.9 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=B83yvZCWYHF0h/8TuKum1PZ58QFmXlrnljyfuGgqZ4Q=; b=CC0UfGtZ6T9Melgi7O4PEyPuAWqGTgdWtQf3KFY2yN19VQrv3MccJ4TmDkwId88MEr xYdoMLpsUFAxUkyBAp+x638TJFhucxu9iBD2XI9McYRT0uPaNtyCPYpzpRT57YBP++RS /KwfDRMOjMIdQMTLdo0+CBUSSrkaqvdL40OiVTh7fKPDC3EJANiQqlIE3cWi4gc02cK7 O5ra3C21cpXUyf6gXsKVGb+4NxUxQYteDkNhVU56p1y5VJCeSwdyOKGCPSpCJL/LSIfD rkSXopMCSWE0Z+KjisazEMbLYr+GFyhCOHfHiX+TvY75sv2CXn/Ca/jpHmZr8LrgZ1nG /yQQ== X-Received: by 10.180.75.133 with SMTP id c5mr11700396wiw.2.1367572950590; Fri, 03 May 2013 02:22:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.21.173 with SMTP id w13ls110448wie.49.canary; Fri, 03 May 2013 02:22:30 -0700 (PDT) X-Received: by 10.194.58.163 with SMTP id s3mr12607497wjq.6.1367572950436; Fri, 03 May 2013 02:22:30 -0700 (PDT) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [2607:f8b0:400c:c01::231]) by mx.google.com with ESMTPS id em9si9368997wic.35.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::231 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::231; Received: by mail-ve0-f177.google.com with SMTP id jw11so1299358veb.8 for ; Fri, 03 May 2013 02:22:29 -0700 (PDT) X-Received: by 10.220.242.73 with SMTP id lh9mr3340989vcb.49.1367572949221; Fri, 03 May 2013 02:22:29 -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 nf2csp13214veb; Fri, 3 May 2013 02:22:28 -0700 (PDT) X-Received: by 10.66.9.100 with SMTP id y4mr13750207paa.189.1367572947036; Fri, 03 May 2013 02:22:27 -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 pl14si7363765pab.111.2013.05.03.02.22.23 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: 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 up7so807842pbc.1 for ; Fri, 03 May 2013 02:22:23 -0700 (PDT) X-Received: by 10.66.90.198 with SMTP id by6mr13675595pab.219.1367572943566; Fri, 03 May 2013 02:22:23 -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.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:23 -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, Jarkko Nikula Subject: [PATCH 2/6] ASoC: omap-mcbsp: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 14:39:20 +0530 Message-Id: <1367572164-19523-2-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: ALoCoQkDiNBUCj1UXtVrvLNhn9OEuKnOtg4yLBhMnX0GxYHIlwtG1sa+g8UpcmU4uKCNN3/zRc3Z X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::231 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: Jarkko Nikula --- sound/soc/omap/omap-mcbsp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index eadbfb6..7483efb 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -814,8 +814,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev) clk_put(mcbsp->fclk); - platform_set_drvdata(pdev, NULL); - return 0; }