Message ID | 1369039124-32590-6-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Commit | a4302ede92d143dd6c0f3dfbe25bcce852249e61 |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBYOI46GAKGQENB5RKNQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CB32120F30 for <linaro@patches.linaro.org>; Mon, 20 May 2013 08:53:39 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id d1sf6528025qcz.8 for <linaro@patches.linaro.org>; Mon, 20 May 2013 01:52:52 -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=mVvVC4IFJyEkxEIN8ikgzttJz4qwYWdjWSoSq9F/5JE=; b=LK/fdcvHj1/ojNwYTtmSJTbEO7vnmJTlR8wVxVW8MGlFdpCF3BwNqJ+4Qh2rYKOq5G 0PYskcspOfAtAYX/fm6sq7JN1mIl3tzBvqoqi/brscjk5c8pnS+FnTFPEwuFvhHguRl6 OZuOOcQXyjaiVAdCflKS0hA5AL80Ddjknr6ZIYFY3VepvLyAMeZWVbuS9asjqBt/dUnJ Ym3HjdgJCg6ax2+6/yQfnt5jgDn8/L+FQLi0kUG9cAHtXnUN6NgYfWsQlB/OA3FG8EQT SCjazuy3D5rvWJn0kSq8Cdewg1kggK6d9IZJSxAVZVkxIW7Swq8Hsy43uVkukm1KMFsn 5xPg== X-Received: by 10.224.130.195 with SMTP id u3mr34491569qas.1.1369039970000; Mon, 20 May 2013 01:52:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.106.105 with SMTP id gt9ls442843qeb.32.gmail; Mon, 20 May 2013 01:52:49 -0700 (PDT) X-Received: by 10.52.165.76 with SMTP id yw12mr10844326vdb.93.1369039969753; Mon, 20 May 2013 01:52:49 -0700 (PDT) Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [2607:f8b0:400c:c02::235]) by mx.google.com with ESMTPS id 4si9365348vcd.64.2013.05.20.01.52.49 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:49 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::235 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::235; Received: by mail-vb0-f53.google.com with SMTP id i3so3568044vbh.26 for <patchwork-forward@linaro.org>; Mon, 20 May 2013 01:52:49 -0700 (PDT) X-Received: by 10.220.112.16 with SMTP id u16mr3630296vcp.40.1369039969582; Mon, 20 May 2013 01:52:49 -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 c10csp73765vcs; Mon, 20 May 2013 01:52:49 -0700 (PDT) X-Received: by 10.67.14.70 with SMTP id fe6mr58973794pad.195.1369039968638; Mon, 20 May 2013 01:52:48 -0700 (PDT) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [2607:f8b0:400e:c01::22c]) by mx.google.com with ESMTPS id tw9si16252554pac.187.2013.05.20.01.52.48 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:48 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22c is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22c; Received: by mail-pb0-f44.google.com with SMTP id wz12so889635pbc.31 for <patches@linaro.org>; Mon, 20 May 2013 01:52:48 -0700 (PDT) X-Received: by 10.68.88.129 with SMTP id bg1mr58979694pbb.10.1369039968272; Mon, 20 May 2013 01:52:48 -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.44 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:47 -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, Stas Sergeev <stsp@users.sourceforge.net> Subject: [PATCH 06/11] ALSA: pcsp: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:39 +0530 Message-Id: <1369039124-32590-6-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: ALoCoQlhjXFXHbxmr4OlMvO9t5wo0RhIXbdSeu6lG+OzsA623aLGmQG3vsvxHkPdR6p8FcD1jb8d X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::235 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/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index 7a5fdb9..1c19cd7 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c @@ -189,7 +189,6 @@ static int pcsp_remove(struct platform_device *dev) struct snd_pcsp *chip = platform_get_drvdata(dev); alsa_card_pcsp_exit(chip); pcspkr_input_remove(chip->input_dev); - platform_set_drvdata(dev, 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> Cc: Stas Sergeev <stsp@users.sourceforge.net> --- sound/drivers/pcsp/pcsp.c | 1 - 1 file changed, 1 deletion(-)