From patchwork Mon Jul 13 21:50:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 35485 Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6DLpIPv007791 for ; Mon, 13 Jul 2009 21:51:18 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6DLpDPd015141 for ; Mon, 13 Jul 2009 16:51:18 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n6DLpB6e020707 for ; Mon, 13 Jul 2009 16:51:11 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id D467C8063E for ; Mon, 13 Jul 2009 16:51:04 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id C91718062E for ; Mon, 13 Jul 2009 16:50:57 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id n6DLovMT003446 for ; Mon, 13 Jul 2009 16:50:57 -0500 (CDT) Received: from mail208-wa4-R.bigfish.com (mail-wa4.bigfish.com [216.32.181.115]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6DLopa4017512 for ; Mon, 13 Jul 2009 16:50:57 -0500 Received: from mail208-wa4 (localhost.localdomain [127.0.0.1]) by mail208-wa4-R.bigfish.com (Postfix) with ESMTP id C694A7B01FB for ; Mon, 13 Jul 2009 21:50:51 +0000 (UTC) X-SpamScore: 0 X-BigFish: vps0(zzzz1202hzzz2dh62h) X-Spam-TCS-SCL: 1:0 X-FB-SS: 5, X-MS-Exchange-Organization-Antispam-Report: OrigIP: 209.85.222.196; Service: EHS Received: by mail208-wa4 (MessageSwitch) id 1247521850258111_14694; Mon, 13 Jul 2009 21:50:50 +0000 (UCT) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mail208-wa4.bigfish.com (Postfix) with ESMTP id 2C668159005C for ; Mon, 13 Jul 2009 21:50:50 +0000 (UTC) Received: by mail-pz0-f196.google.com with SMTP id 34so632511pzk.4 for ; Mon, 13 Jul 2009 14:50:50 -0700 (PDT) Received: by 10.142.154.14 with SMTP id b14mr1322658wfe.160.1247521850089; Mon, 13 Jul 2009 14:50:50 -0700 (PDT) Received: from localhost (deeprooted.net [216.254.16.51]) by mx.google.com with ESMTPS id 30sm9811029wfg.30.2009.07.13.14.50.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Jul 2009 14:50:49 -0700 (PDT) From: Kevin Hilman To: Mark Brown Date: Mon, 13 Jul 2009 14:50:41 -0700 Message-Id: <1247521841-21358-4-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1247521841-21358-3-git-send-email-khilman@deeprootsystems.com> References: <1247521841-21358-1-git-send-email-khilman@deeprootsystems.com> <1247521841-21358-2-git-send-email-khilman@deeprootsystems.com> <1247521841-21358-3-git-send-email-khilman@deeprootsystems.com> Cc: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH 3/3] ASoC: davinci: clock pointers instead of clock names X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com Signed-off-by: Kevin Hilman --- sound/soc/davinci/davinci-i2s.c | 2 +- sound/soc/davinci/davinci-mcasp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c index f7330e1..ddc047e 100644 --- a/sound/soc/davinci/davinci-i2s.c +++ b/sound/soc/davinci/davinci-i2s.c @@ -528,7 +528,7 @@ static int davinci_i2s_probe(struct platform_device *pdev) goto err_release_region; } - dev->clk = clk_get(&pdev->dev, pdata->clk_name); + dev->clk = pdata->clk; if (IS_ERR(dev->clk)) { ret = -ENODEV; goto err_free_mem; diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index b27aab6..3b095f9 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c @@ -764,7 +764,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev) } pdata = pdev->dev.platform_data; - dev->clk = clk_get(&pdev->dev, pdata->clk_name); + dev->clk = pdata->clk; if (IS_ERR(dev->clk)) { ret = -ENODEV; goto err_release_region;