From patchwork Mon May 20 08:38:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17061 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD38920F30 for ; Mon, 20 May 2013 08:53:52 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id a11sf1319071qen.10 for ; Mon, 20 May 2013 01:53:05 -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=omP1sXUwIgmqqX0iiF2sSlczfOTTliqJpm60ULY1ZqA=; b=F5odPF3gkt5t8fv4B2XyMkCyvqA7sCqwWBxqMkVqQp1h1L7RUnfM8fujdJHlk8aPgN XkUvIyWfhloW2Wd1rW5MnpAAOPtEH9qO0Ld6wFZSzO3uD8lpz8NGZyoYELHmUL04jgRB i1kgtTMVO/XbR/3guXe5JqwfsYSBeGDnI/4Aq3go1xpUJWNXgsGZ4ZwwvLvK+5Yjwlzm 5atddRlR/knrXqhmvX9u1q65agBWEn8scP+ei0oGMWmpW5D3ht/nG/d1Rhqh/gnr40v5 XaxrkgKu4RptLV53HJMa+cNH8dys8MczoU7cwNxTwlgShYkPfBLtmTvpQ9D3wwCpOQ/y XcaA== X-Received: by 10.224.174.145 with SMTP id t17mr7417914qaz.4.1369039985046; Mon, 20 May 2013 01:53:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.27.231 with SMTP id w7ls2665210qeg.41.gmail; Mon, 20 May 2013 01:53:04 -0700 (PDT) X-Received: by 10.221.7.67 with SMTP id on3mr32297396vcb.70.1369039984912; Mon, 20 May 2013 01:53:04 -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 zp6si11250798vdb.28.2013.05.20.01.53.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:53:04 -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 f13so1183330vbg.27 for ; Mon, 20 May 2013 01:53:04 -0700 (PDT) X-Received: by 10.52.233.34 with SMTP id tt2mr28286358vdc.70.1369039984761; Mon, 20 May 2013 01:53:04 -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 c10csp73779vcs; Mon, 20 May 2013 01:53:04 -0700 (PDT) X-Received: by 10.67.14.70 with SMTP id fe6mr58974544pad.195.1369039983788; Mon, 20 May 2013 01:53:03 -0700 (PDT) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id ym5si16231198pac.311.2013.05.20.01.53.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:53:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.51 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id ld10so5438482pab.24 for ; Mon, 20 May 2013 01:53:03 -0700 (PDT) X-Received: by 10.66.0.73 with SMTP id 9mr51746482pac.171.1369039983325; Mon, 20 May 2013 01:53:03 -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.58 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:53:02 -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, Adrian McMenamin Subject: [PATCH 10/11] ALSA: sh: aica: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:43 +0530 Message-Id: <1369039124-32590-10-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: ALoCoQnMCUlPsklKFQYwby9NvLl2Ipo+Rgc/dqO3uz/qcL2NcEApBC8GfHQ120QhhTJxB20Ihf5u 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: Adrian McMenamin --- sound/sh/aica.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/sh/aica.c b/sound/sh/aica.c index e59a73a..78a3697 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c @@ -598,7 +598,6 @@ static int snd_aica_remove(struct platform_device *devptr) return -ENODEV; snd_card_free(dreamcastcard->card); kfree(dreamcastcard); - platform_set_drvdata(devptr, NULL); return 0; }