Message ID | 20230117164539.1631336-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1864793wrn; Tue, 17 Jan 2023 08:53:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXsJ6uFFWvpxFby1ZJqkTG3xBwveHnm4ZXcO4X58CQzoB7hXem9srDHy0xuwZjIUOyx1Ot6b X-Received: by 2002:a05:6402:524f:b0:491:3a5c:6e5 with SMTP id t15-20020a056402524f00b004913a5c06e5mr5120144edd.1.1673974399130; Tue, 17 Jan 2023 08:53:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673974399; cv=none; d=google.com; s=arc-20160816; b=MhwC69ci0LDCLRWiLK2zJ6WQWCXkEmcbzBqkfWqRR73R/g3QgcPPEjCqTOvo2Rc12F KHiRN2Ybnf66jMg2VdL4o/+5Rv0ncbNvVLY4oIcWjJVa31izu2Gr7i4Z24Nmca65W3Z7 lhv6f2p4oz++j2zD9X/D8Io+de2RHTbzlHAUBvV+Gu8WhizkBK/M2nlWPqVn/Rb1wDrW lz4aNdQIy3uW5gCPBJC+WXZTS+LEJkgz6zLm3ZTdMjrTQFOVchQGY7a5GA92crISHZyo LN0GVwYGGFYkja2+EBBDAWrtOtXH7Ogg6ee9Ez9PqXwVv8WsQ1ODXBo79njPcnF7WMRv FE+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=33Mrj4TYLHSHu74QvEFdFIL21cUhiFgUFzYurW05+uI=; b=cSFYtJh/bpM8S3QOfMe44txxVAPdv7OqFpBhb2Gv2PD5nn91i7VaqYsFfAkIEKcT+i G1oauO3FPv4x8m9f71uLMVm3spS5445fEaycZ3BiiaPU7fJBG9gxjmw4ZzlHqCrIQ+AJ W/Xn5qSmcp+d+YQzUHplMQ4ujeH1UqvlzJSwy2PSKl2iKwvL61OrS2vhY8YApVWcW2I9 cFSTmr167KEMA1TFXVCtfnNxbww+9Zytq5ETQoesSlu3AIhYV/qeSYAaOPoT4W+QjcAN ZBKq8/8BmmGtpuncWTwzS46OKbW6vY8SjPI/sn2fnboZeQx0ytFMiZ71KuIhy8/emgn6 gu9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tZfehrK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020aa7c50c000000b00473d8c56c90si3492868edq.139.2023.01.17.08.52.55; Tue, 17 Jan 2023 08:53:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tZfehrK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbjAQQpy (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Tue, 17 Jan 2023 11:45:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233169AbjAQQpr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 17 Jan 2023 11:45:47 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F14E12844; Tue, 17 Jan 2023 08:45:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CE8FAB81912; Tue, 17 Jan 2023 16:45:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16761C433F0; Tue, 17 Jan 2023 16:45:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673973943; bh=1IWjxsYC2i9SE5mqZ6V2NsIEjkQYLC+eGmlQwfHJm8o=; h=From:To:Cc:Subject:Date:From; b=tZfehrK5DYMJiaHeNzSfw3EmMD5tZBCc0Tk+yr8EvLlSk6t6d0urIIEO7Zbk00UHM mnmFrsyxwXgdbu/bDLLh3uwzId5RA/oVqKtscvX1iz8cLp89+HK9LgO81HW2wKw7zO yzq802015UgMDl25c/1xbVeaXK0IO7j2aWoslTiT8YiAlzZdfnuZ1PFW21NmDPK5+H h5tJoLwRAZYdv6ie7sPlWwJSnMrVBWvd+xGSg7D8WxbQgzbOQebAg0gb9VLMqneeFd 8mefG57ilOMP03QxUDO7XUUxz41P0AMcrTfniflp5uXIqnkd0HviG3/+TSUVBe67p6 6LL6/7Ai9joiw== From: Arnd Bergmann <arnd@kernel.org> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de>, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo Date: Tue, 17 Jan 2023 17:45:33 +0100 Message-Id: <20230117164539.1631336-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755289379560757016?= X-GMAIL-MSGID: =?utf-8?q?1755289379560757016?= |
Series |
Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo
|
|
Commit Message
Arnd Bergmann
Jan. 17, 2023, 4:45 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> The previous change was not properly build tested and needs a trivial spelling change: ipaq-micro-ts.c:146:8: error: type defaults to 'int' in declaration of 'DEFINE_SIMPLE_DEV_PM' [-Werror=implicit-int] Fixes: 144ff5e03d74 ("Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/input/touchscreen/ipaq-micro-ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Tue, Jan 17, 2023 at 05:45:33PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The previous change was not properly build tested and needs > a trivial spelling change: > > ipaq-micro-ts.c:146:8: error: type defaults to 'int' in declaration of 'DEFINE_SIMPLE_DEV_PM' [-Werror=implicit-int] > > Fixes: 144ff5e03d74 ("Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Applied, thank you.
diff --git a/drivers/input/touchscreen/ipaq-micro-ts.c b/drivers/input/touchscreen/ipaq-micro-ts.c index d8e25b502968..94720c41c9be 100644 --- a/drivers/input/touchscreen/ipaq-micro-ts.c +++ b/drivers/input/touchscreen/ipaq-micro-ts.c @@ -143,8 +143,8 @@ static int micro_ts_resume(struct device *dev) return 0; } -static DEFINE_SIMPLE_DEV_PM(micro_ts_dev_pm_ops, - micro_ts_suspend, micro_ts_resume); +static DEFINE_SIMPLE_DEV_PM_OPS(micro_ts_dev_pm_ops, + micro_ts_suspend, micro_ts_resume); static struct platform_driver micro_ts_device_driver = { .driver = {