Message ID | 1369039124-32590-4-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Commit | 984ef60cb148c468925f5b1a15a3f425c9d6bf6c |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBWOI46GAKGQEACUUWVY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B959620F30 for <linaro@patches.linaro.org>; Mon, 20 May 2013 08:53:29 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id m17sf4658206vca.0 for <linaro@patches.linaro.org>; Mon, 20 May 2013 01:52:41 -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=oSEGudKJBhRdF6TL6kBj01FoNR8+Y2/BBCH+wIxZ8Wg=; b=SVgHbOPmFi32zP+/YNqypX4uNS29AuBrJ6E0gbqfBHyOS+TRWwxjiYf/oUMmDde+hM 0hOPHzBLr92EFqf9ccoUu50dlGkgfgnMGeqV3PzSDhef3MhSEUFSlrKflDrHBkCdI9cR XKcbpuJv0T70PVDOBfXipZb6voQ8zZrLJ82YUwbKRbeqXQGKHfFVwfmH4dPmlLjUoIZt ++4CXPGx0am0mJptfEadyQYT0ZziaPsB/s4hMaFoeyFrJAWWd0DpGWPKZQ9cCxLNxkV8 Rl7Luo34kxwOcN85RTftWtZHzoOO2w29XGDhZnijwU5ZoWoxw/rYedQyEUpEQ032RzKT YJcg== X-Received: by 10.224.165.130 with SMTP id i2mr34483499qay.2.1369039961852; Mon, 20 May 2013 01:52:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.48.233 with SMTP id p9ls2565998qen.60.gmail; Mon, 20 May 2013 01:52:41 -0700 (PDT) X-Received: by 10.59.2.199 with SMTP id bq7mr33139274ved.51.1369039961725; Mon, 20 May 2013 01:52:41 -0700 (PDT) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [2607:f8b0:400c:c02::234]) by mx.google.com with ESMTPS id zp6si11250510vdb.28.2013.05.20.01.52.41 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:41 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::234 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::234; Received: by mail-vb0-f52.google.com with SMTP id p13so3591451vbe.39 for <patchwork-forward@linaro.org>; Mon, 20 May 2013 01:52:41 -0700 (PDT) X-Received: by 10.52.163.207 with SMTP id yk15mr846118vdb.42.1369039961525; Mon, 20 May 2013 01:52:41 -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 c10csp73761vcs; Mon, 20 May 2013 01:52:40 -0700 (PDT) X-Received: by 10.66.119.103 with SMTP id kt7mr8798032pab.125.1369039960516; Mon, 20 May 2013 01:52:40 -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 sm10si15940119pbc.318.2013.05.20.01.52.40 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:40 -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 uo1so724297pbc.15 for <patches@linaro.org>; Mon, 20 May 2013 01:52:40 -0700 (PDT) X-Received: by 10.68.189.67 with SMTP id gg3mr59879352pbc.141.1369039960151; Mon, 20 May 2013 01:52:40 -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.37 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:39 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, perex@perex.cz, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 04/11] ALSA: mpu401: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:37 +0530 Message-Id: <1369039124-32590-4-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: ALoCoQkGcUq/+x9Spzcazb8Rt5+dNPPvcP5FKh4du+a4e0imCplCNDYJCOEZUPMVkPInQBziOZtb X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::234 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/sound/drivers/mpu401/mpu401.c b/sound/drivers/mpu401/mpu401.c index da1a29b..90a3a7b 100644 --- a/sound/drivers/mpu401/mpu401.c +++ b/sound/drivers/mpu401/mpu401.c @@ -129,7 +129,6 @@ static int snd_mpu401_probe(struct platform_device *devptr) static int snd_mpu401_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; }
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 <sachin.kamat@linaro.org> --- sound/drivers/mpu401/mpu401.c | 1 - 1 file changed, 1 deletion(-)