Message ID | 1369039124-32590-7-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Commit | 45837cb214a7fd076ae66a87a9425588156d3a78 |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBZOI46GAKGQEVOSFNRI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f200.google.com (mail-gh0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 955A920F30 for <linaro@patches.linaro.org>; Mon, 20 May 2013 08:53:41 +0000 (UTC) Received: by mail-gh0-f200.google.com with SMTP id 10sf7327595ghy.11 for <linaro@patches.linaro.org>; Mon, 20 May 2013 01:52:53 -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=giyri4XBh0KI+P9aNLzBGb/XBrOubvZyUjphRtaFFHA=; b=NKcELQK71cjrDktk6xIz7uSMjomAi/oAP8gZWneBpcvVGRP7k9oF6qqIvCokK/VeFW wGUpkShMlhawMTaNoxXG0cWs2M/QmTw0krt6pJbi/BHc7pU6L953DxCBzlSIsA9OONjA piCOQHyQuvF9/KDi8Wd+H61h/uvB9YD+pSVpibjGZj/kKG87koObtKLF6H+DbjBeGBwl P0CTgums/4yhDdbKq+HBmVSKDBvKiPH947NfJ3I5n/wKFLApVLw/+HTH6EcMQJXjYcnZ 2To2MzAX1hkO9cvUjMCf9Wb9gTcTjlwAmFu9HjfSJpHzIBpejYQ6emLFbI9ZFylIVCwI lt0w== X-Received: by 10.224.59.205 with SMTP id m13mr34467031qah.7.1369039973555; Mon, 20 May 2013 01:52:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.41.7 with SMTP id b7ls2589845qel.12.gmail; Mon, 20 May 2013 01:52:53 -0700 (PDT) X-Received: by 10.58.243.102 with SMTP id wx6mr24191543vec.26.1369039973416; Mon, 20 May 2013 01:52:53 -0700 (PDT) Received: from mail-ve0-x22f.google.com (mail-ve0-x22f.google.com [2607:f8b0:400c:c01::22f]) by mx.google.com with ESMTPS id ha8si11231197vdb.87.2013.05.20.01.52.53 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:53 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22f 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::22f; Received: by mail-ve0-f175.google.com with SMTP id cz11so5469444veb.34 for <patchwork-forward@linaro.org>; Mon, 20 May 2013 01:52:53 -0700 (PDT) X-Received: by 10.220.192.3 with SMTP id do3mr33713840vcb.16.1369039973237; Mon, 20 May 2013 01:52:53 -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 c10csp73767vcs; Mon, 20 May 2013 01:52:52 -0700 (PDT) X-Received: by 10.68.201.132 with SMTP id ka4mr4063203pbc.162.1369039972111; Mon, 20 May 2013 01:52:52 -0700 (PDT) Received: from mail-da0-x230.google.com (mail-da0-x230.google.com [2607:f8b0:400e:c00::230]) by mx.google.com with ESMTPS id sb1si15948925pbb.262.2013.05.20.01.52.51 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:52 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::230 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::230; Received: by mail-da0-f48.google.com with SMTP id h32so3760057dak.35 for <patches@linaro.org>; Mon, 20 May 2013 01:52:51 -0700 (PDT) X-Received: by 10.66.4.106 with SMTP id j10mr60668496paj.218.1369039971733; Mon, 20 May 2013 01:52:51 -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.48 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:51 -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 07/11] ALSA: serial-u16550: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:40 +0530 Message-Id: <1369039124-32590-7-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: ALoCoQkdcONxgVOI5J8LZtzkzRdqQFR+QUDpTxmA4XFi171UQ/wXrvVr++KFaPGMh2cL5kq55Xcd X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22f 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/serial-u16550.c b/sound/drivers/serial-u16550.c index 7425dd8..e0bf5e7 100644 --- a/sound/drivers/serial-u16550.c +++ b/sound/drivers/serial-u16550.c @@ -985,7 +985,6 @@ static int snd_serial_probe(struct platform_device *devptr) static int snd_serial_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/serial-u16550.c | 1 - 1 file changed, 1 deletion(-)