From patchwork Mon May 20 08:38:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17060 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AA2720F30 for ; Mon, 20 May 2013 08:53:47 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id a41sf8476220yho.10 for ; Mon, 20 May 2013 01:52:59 -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=BzAENT5YOaHp3KJFizJGdRzirSvwHe2F0gudBYH+n3I=; b=jhfsQw/3ESx1Ato6NqwY1MXmNuDdMol9r3nLzXgfzqYE0Vp9dPwHiFGWkkMFDVJ4Dq Sr4OLFTVSlnzuwSymC2DtBzA5+uoCPn/+m9DNp3fn0wTi8TsbhH/DtVA6oLXhGqtZjrf oN44giOsTIQMA2FL514UYk7JxOXZqaZ6aJGDB1S6p68x1Z6Oqzgz+XdjtAFWbfEkdj2n fK79ORsyhSaH9QhtTvtCoq1MIiQ1mKY/nlIkH+olQQUFN9AcRaiNGrTqVzS7oLIiK+zz +HPkegAEuWq3cPXj1tJGhyeguvmWn3xt/ttB8KkjNTho2QrXjUQC9xhLxLQ+VYxRUV0f zxiQ== X-Received: by 10.224.42.141 with SMTP id s13mr34512418qae.3.1369039979620; Mon, 20 May 2013 01:52:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.136 with SMTP id ge8ls230221qeb.4.gmail; Mon, 20 May 2013 01:52:59 -0700 (PDT) X-Received: by 10.220.173.6 with SMTP id n6mr7361645vcz.52.1369039979487; Mon, 20 May 2013 01:52:59 -0700 (PDT) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [2607:f8b0:400c:c01::231]) by mx.google.com with ESMTPS id iz8si11232401vdb.84.2013.05.20.01.52.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:59 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::231 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::231; Received: by mail-ve0-f177.google.com with SMTP id ox1so5388308veb.8 for ; Mon, 20 May 2013 01:52:59 -0700 (PDT) X-Received: by 10.58.250.66 with SMTP id za2mr33429516vec.56.1369039979331; Mon, 20 May 2013 01:52:59 -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 c10csp73774vcs; Mon, 20 May 2013 01:52:58 -0700 (PDT) X-Received: by 10.68.229.138 with SMTP id sq10mr59188687pbc.38.1369039978402; Mon, 20 May 2013 01:52:58 -0700 (PDT) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx.google.com with ESMTPS id yh2si16277273pab.61.2013.05.20.01.52.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.178; Received: by mail-pd0-f178.google.com with SMTP id w16so1167809pde.37 for ; Mon, 20 May 2013 01:52:57 -0700 (PDT) X-Received: by 10.66.232.230 with SMTP id tr6mr61342287pac.83.1369039977928; Mon, 20 May 2013 01:52:57 -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.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:57 -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 09/11] ALSA: powermac: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:42 +0530 Message-Id: <1369039124-32590-9-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: ALoCoQnRNVN7lHyRb8kbEqHzRbk8gEGQLoTtEpqTi7tIYdrxTuofTh+pNuDsZoQ7fzkrJK0pGPlD X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::231 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 --- sound/ppc/powermac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/ppc/powermac.c b/sound/ppc/powermac.c index 09fc848..8abb521 100644 --- a/sound/ppc/powermac.c +++ b/sound/ppc/powermac.c @@ -139,7 +139,6 @@ __error: static int snd_pmac_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; }