From patchwork Thu Feb 13 06:40:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Barry Song <21cnbao@gmail.com> X-Patchwork-Id: 3642841 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 047C4BF40C for ; Thu, 13 Feb 2014 06:45:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C4FC20154 for ; Thu, 13 Feb 2014 06:45:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 36D6320115 for ; Thu, 13 Feb 2014 06:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751492AbaBMGlA (ORCPT ); Thu, 13 Feb 2014 01:41:00 -0500 Received: from mail-pd0-f182.google.com ([209.85.192.182]:48057 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751174AbaBMGlA (ORCPT ); Thu, 13 Feb 2014 01:41:00 -0500 Received: by mail-pd0-f182.google.com with SMTP id v10so10090478pde.13 for ; Wed, 12 Feb 2014 22:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y8mVTFgA9YP/NyWg1MByfrGUk54B273hTAczEhdz+O0=; b=eWIRYNwYS3UdkfzAsM6ymIq6I7Ko+73VwhOVmVrQhFcIYzUaBkeHVBhv7jqL6Nq8xR x+gLGLom8PcPKRpxCmt28Gn+W5krIT4EEHQxDNrq2wv6YntkCumzl4c4w0tJrJaUSMJB 9zmjamyLID2vqlS1hbXdNAslSkr6r9Y2YvBsnqf9+BzzzfqGi48v9d/q6X1rBLxxToFD plQO/wdCvj32mr0isSlGoIAWLIBRSXZ+F5nIwgwwXnydVbM3n11QSI+h9Uepk7m3T25D e1FoAg+Zoq05pYNafgUnp+/hr6K7KJ0w5IuP9BxPw2gDm3F4N+CAb+ciuTp1/0GidnGF gvmg== X-Received: by 10.66.155.102 with SMTP id vv6mr44580789pab.89.1392273659655; Wed, 12 Feb 2014 22:40:59 -0800 (PST) Received: from barry-laptop.ROOT.PRI ([117.136.8.108]) by mx.google.com with ESMTPSA id si6sm6884868pab.19.2014.02.12.22.40.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 22:40:59 -0800 (PST) From: Barry Song <21cnbao@gmail.com> To: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org Cc: workgroup.linux@csr.com, Xianglong Du , Barry Song Subject: [PATCH 2/4] input: sirfsoc-onkey - namespace pwrc_resume function Date: Thu, 13 Feb 2014 14:40:22 +0800 Message-Id: <1392273624-22920-3-git-send-email-21cnbao@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392273624-22920-1-git-send-email-21cnbao@gmail.com> References: <1392273624-22920-1-git-send-email-21cnbao@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Xianglong Du this function lost namespace, this patch fixes it. Signed-off-by: Xianglong Du Signed-off-by: Barry Song --- drivers/input/misc/sirfsoc-onkey.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 4d54744..097c10a 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c @@ -155,7 +155,7 @@ static int sirfsoc_pwrc_remove(struct platform_device *pdev) } #ifdef CONFIG_PM_SLEEP -static int pwrc_resume(struct device *dev) +static int sirfsoc_pwrc_resume(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct sirfsoc_pwrc_drvdata *pwrcdrv = platform_get_drvdata(pdev); @@ -173,7 +173,7 @@ static int pwrc_resume(struct device *dev) } #endif -static SIMPLE_DEV_PM_OPS(sirfsoc_pwrc_pm_ops, NULL, pwrc_resume); +static SIMPLE_DEV_PM_OPS(sirfsoc_pwrc_pm_ops, NULL, sirfsoc_pwrc_resume); static struct platform_driver sirfsoc_pwrc_driver = { .probe = sirfsoc_pwrc_probe,