Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2779834rda; Wed, 25 Oct 2023 12:03:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFwqCRRMFX8Fzb68SCcIcga20XlARa/GrZfyw22J8UktZtqeOEW3+wxQE/jnaO+7S29ujc X-Received: by 2002:a25:494:0:b0:d91:b6e5:54dd with SMTP id 142-20020a250494000000b00d91b6e554ddmr16867829ybe.3.1698260587119; Wed, 25 Oct 2023 12:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698260587; cv=none; d=google.com; s=arc-20160816; b=AnUjKSXxr2GAG/30GgeRe8VR2YYsoNgyLt8U/rXvwUA3SUGp4Pfk2avtjdgV4WkEdp 3wOXadeWDVchFzOmQEsvzG1f7v+YK7Jb5LC/T/PUBczwziHX1rIDK8YeopWrC4v1Fe3d h/QyHK+qVT26LsYB4EG8pZQOtytjGVrYWPM6A51MB94n7c7ZhZ6paB6IjOSyiNAukN7z eBETnQJlIeJ0xK67Qh9Y0HuN7EeXcke1Tp0k736NiotIlbyl8NgN2Xvr0xh97BLsLtsu Xpb3HGOB9mYXzFYAzkA4Ilp+6Y0ifD8omebb3QVL+ByrHGxPurE74Mt0dLVhrBduqIJK ttVQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=MeRNDYlV35aTMpfzlRjGwZn9hKg5PepmFQQwXTq3qz8=; fh=42sm7LMq7NHZ+/3SL+NdUuDoQghf4YdDWchZbvD/h3c=; b=Ra2mpRT3sz1uHrCt2afMtYLxrfKUqldDWEy2aJ0zsN6MZo5tkz15ABhjLQ35W0jMqm e+vAnDmu6afN+IXQXS/6XakmxpCrK3jAnxAurkjqxgn+1qY/m5abEnoVCipHyfohY8te hPSDn/31VuHKDiy+uBr2KWGXhsgybgDf9gzfK33xvKmmEUoGKSbqMQZ4EOlUADu1GOZ+ XhWakG6Bc0DAxd8lKJyHOJNALJI4Co4kWPjRYaB+mRFqEtYQ6uG8q5NExjxHhoJH7B+J mGWoLw9tTH7Jv7loq7gFtAAVPfMraZAxPI1tq+XBqClphTZO+hsOstpiqwKCfb9M5Okq j0FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQl6a6s5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h14-20020a25b18e000000b00d9a5da9df0esi10625196ybj.249.2023.10.25.12.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQl6a6s5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B1D0F80216BD; Wed, 25 Oct 2023 12:02:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbjJYTCr (ORCPT + 99 others); Wed, 25 Oct 2023 15:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjJYTCq (ORCPT ); Wed, 25 Oct 2023 15:02:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A85F3116; Wed, 25 Oct 2023 12:02:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 308ADC433C7; Wed, 25 Oct 2023 19:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698260564; bh=/9iWr4f/dsLFRv2le/lOb5v7vmV4yJB6T0i1GKy1FFQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=JQl6a6s5ih0P9/E6pdGs9Pi0hfBJPAWvXW5nSLnzUyEt3o0M+ZgIa4wuo1n15nfFq 4zPF5waP9ScISnJEgUJOGkTPOGvDQ9PkBpa5LuYD67qDUTEcnMTudNcmI6lysfHtxF QG2kzm5/GgO5cnkxsxSi5V+1Xp53Wvbvb9P+4V9eVzRQwe4E5s9G/Kv+tYOgA7C+4c Q8KY3/WV8W0vTGbVt+MGS2Ecj7/Wsb03pnPRzwredLsgpp1ukc5wbwsd5O7cy7QQVa 0UhPky7SBhcHBRj9xDW/8gw0w3mIcopnMfpXfS6ZVO+ifo7INcbMLlHW/BkWrH6CoS EeBzHZJJMO5jg== From: Benjamin Tissoires To: Jiri Kosina , Benjamin Tissoires , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org In-Reply-To: <20231012-hid-pm_ptr-v1-0-0a71531ca93b@weissschuh.net> References: <20231012-hid-pm_ptr-v1-0-0a71531ca93b@weissschuh.net> Subject: Re: [PATCH 0/4] HID: remove #ifdef CONFIG_PM Message-Id: <169826056250.336761.2729314989598019924.b4-ty@kernel.org> Date: Wed, 25 Oct 2023 21:02:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 25 Oct 2023 12:02:56 -0700 (PDT) On Thu, 12 Oct 2023 12:23:37 +0200, Thomas Weißschuh wrote: > Through the usage of pm_ptr() the CONFIG_PM-dependent code will always be > compiled, protecting against bitrot. > The linker will then garbage-collect the unused function avoiding any overhead. > > This series only converts three users of CONFIG_PM in drivers/hid/ but > most of the others should be convertible, too. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-6.7/config_pm), thanks! [1/4] HID: core: remove #ifdef CONFIG_PM from hid_driver https://git.kernel.org/hid/hid/c/df8b030d82dd [2/4] HID: usbhid: remove #ifdef CONFIG_PM https://git.kernel.org/hid/hid/c/f354872108eb [3/4] HID: multitouch: remove #ifdef CONFIG_PM https://git.kernel.org/hid/hid/c/fc2543414c3e [4/4] HID: rmi: remove #ifdef CONFIG_PM https://git.kernel.org/hid/hid/c/eeebfe6259ba Cheers, -- Benjamin Tissoires