From patchwork Fri Jul 6 17:41:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1166791 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A771EDF236 for ; Fri, 6 Jul 2012 17:42:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757724Ab2GFRmD (ORCPT ); Fri, 6 Jul 2012 13:42:03 -0400 Received: from co1ehsobe004.messaging.microsoft.com ([216.32.180.187]:38224 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757636Ab2GFRmC (ORCPT ); Fri, 6 Jul 2012 13:42:02 -0400 Received: from mail29-co1-R.bigfish.com (10.243.78.235) by CO1EHSOBE004.bigfish.com (10.243.66.67) with Microsoft SMTP Server id 14.1.225.23; Fri, 6 Jul 2012 17:39:53 +0000 Received: from mail29-co1 (localhost [127.0.0.1]) by mail29-co1-R.bigfish.com (Postfix) with ESMTP id 117B46C0141; Fri, 6 Jul 2012 17:39:53 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h839hd24he5bhf0ah107ah) Received: from mail29-co1 (localhost.localdomain [127.0.0.1]) by mail29-co1 (MessageSwitch) id 1341596390296499_4137; Fri, 6 Jul 2012 17:39:50 +0000 (UTC) Received: from CO1EHSMHS032.bigfish.com (unknown [10.243.78.238]) by mail29-co1.bigfish.com (Postfix) with ESMTP id 46C7B100044; Fri, 6 Jul 2012 17:39:50 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS032.bigfish.com (10.243.66.42) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 6 Jul 2012 17:39:50 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.2.298.5; Fri, 6 Jul 2012 12:41:57 -0500 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.240.144]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q66HfrAi019135; Fri, 6 Jul 2012 10:41:56 -0700 From: Fabio Estevam To: CC: , , Fabio Estevam Subject: [PATCH v2 2/3] keyboard: imx_keypad: Adapt the new kpp clock name Date: Fri, 6 Jul 2012 14:41:53 -0300 Message-ID: <1341596514-15972-2-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1341596514-15972-1-git-send-email-fabio.estevam@freescale.com> References: <1341596514-15972-1-git-send-email-fabio.estevam@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org With the new i.mx clock framework we should pass NULL as the keypad clock name. Signed-off-by: Fabio Estevam --- drivers/input/keyboard/imx_keypad.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 9d57945..4830615 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c @@ -467,7 +467,7 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev) goto failed_free_priv; } - keypad->clk = clk_get(&pdev->dev, "kpp"); + keypad->clk = clk_get(&pdev->dev, NULL); if (IS_ERR(keypad->clk)) { dev_err(&pdev->dev, "failed to get keypad clock\n"); error = PTR_ERR(keypad->clk);