From patchwork Mon May 20 08:38:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17053 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4799220F30 for ; Mon, 20 May 2013 08:53:23 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id i3sf5083566vbh.4 for ; Mon, 20 May 2013 01:52:35 -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=tKBC3n9FG2dVQ2zU6l70ltqamtPkZVzN+zL90+C7ork=; b=LHgwcwubApEAKL7yZ7fupa95PFPHjWDLJSycXBe8m3qcKIlvx5Mgy6cjWhoJkcYxaV lwHYpVvGIY1/w6Zg1hmNqgSdTyl00QC+M3lrF2Fzw3/WBINb1Ist3QUNxqnH2XtcWAJr qnMwy4vV80Nfaq5dOMC0PcxMQPp6mbStxGBr8fZGijKVoTS63sRJYJiKASDnyI6yPTUP 4IJ1+SrcGn6zHJ4HgwTNT1XGpB8Ruy4sIdntQju7l+GBkjR/tUWEjhzgTzVsEO9UrjXC XRy/mta+0DFa7lrZEYXdvJicqCOGOGSTz+dqaPGGe+oEqA/B/Wc2PAhuB0dgYkNgE1Tr fhuA== X-Received: by 10.224.200.202 with SMTP id ex10mr34444385qab.8.1369039955379; Mon, 20 May 2013 01:52:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.127.168 with SMTP id nh8ls1095218qeb.70.gmail; Mon, 20 May 2013 01:52:35 -0700 (PDT) X-Received: by 10.58.234.134 with SMTP id ue6mr33996752vec.20.1369039955246; Mon, 20 May 2013 01:52:35 -0700 (PDT) Received: from mail-vb0-x230.google.com (mail-vb0-x230.google.com [2607:f8b0:400c:c02::230]) by mx.google.com with ESMTPS id sc6si11248471vdc.34.2013.05.20.01.52.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:35 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::230 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::230; Received: by mail-vb0-f48.google.com with SMTP id q16so3624465vbe.35 for ; Mon, 20 May 2013 01:52:35 -0700 (PDT) X-Received: by 10.52.233.34 with SMTP id tt2mr28285980vdc.70.1369039955033; Mon, 20 May 2013 01:52:35 -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 c10csp73756vcs; Mon, 20 May 2013 01:52:34 -0700 (PDT) X-Received: by 10.66.121.202 with SMTP id lm10mr59879328pab.138.1369039954096; Mon, 20 May 2013 01:52:34 -0700 (PDT) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx.google.com with ESMTPS id wx5si15967330pbc.143.2013.05.20.01.52.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.53; Received: by mail-pa0-f53.google.com with SMTP id kq12so5431638pab.26 for ; Mon, 20 May 2013 01:52:33 -0700 (PDT) X-Received: by 10.68.192.1 with SMTP id hc1mr58827985pbc.45.1369039953564; Mon, 20 May 2013 01:52:33 -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.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:32 -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 Subject: [PATCH 02/11] ALSA: aloop: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:35 +0530 Message-Id: <1369039124-32590-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369039124-32590-1-git-send-email-sachin.kamat@linaro.org> References: <1369039124-32590-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnEQc+hvdpoqyBpIi3OZuc2ZfJMbkALVvrn6avnx9IN2HtGRiwxtDLiIcuFo9Lu27b2Eb5l X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::230 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: Jaroslav Kysela --- sound/drivers/aloop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 6f78de9..f758992 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c @@ -1183,7 +1183,6 @@ static int loopback_probe(struct platform_device *devptr) static int loopback_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; }