From patchwork Thu Dec 22 05:10:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 636201 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03729C46467 for ; Thu, 22 Dec 2022 05:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234964AbiLVFK4 (ORCPT ); Thu, 22 Dec 2022 00:10:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230451AbiLVFKx (ORCPT ); Thu, 22 Dec 2022 00:10:53 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12959167EA; Wed, 21 Dec 2022 21:10:50 -0800 (PST) From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1671685848; bh=0453VDQMas3wzKqIyLohx5n71ZFMChZfy4arzHwtRes=; h=From:Subject:Date:To:Cc:From; b=U7HBuKeJ5i4EX7wUylFkiAHnl1f3RpDqejjXskNL6OiypyU7jAF3z2zu9pLvh5qUH 4SklyXuN90pOkjWuoxDYkndbqcVFRwtvDaVOVm3CrpP0yCGCM/h82sF4Xxjhrnof1N nyXcaDDKSwzeO87AD6MBrcF6Y7ukrq8W4I8FpBxo= Subject: [PATCH 0/8] HID: remove some unneeded exported symbols from hid.h Date: Thu, 22 Dec 2022 05:10:44 +0000 Message-Id: <20221222-hid-v1-0-f4a6c35487a5@weissschuh.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANTmo2MC/x2MQQqAIBAAvxJ7TsiNgvpKdNBcc0EslCKQ/t7Sc YZhKhTKTAXmpkKmmwsfSUC3DWzBpJ0UO2HADlEjogrslJ2GQfvJG+xHkNKaQspmk7YgbbpiFHlm 8vz862V93w/PlUFSagAAAA== To: Hans de Goede , Jiri Kosina , Benjamin Tissoires , David Rheinsberg , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, Thomas =?utf-8?q?Wei=C3=9Fschuh?= X-Mailer: b4 0.11.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1671685844; l=1655; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=0453VDQMas3wzKqIyLohx5n71ZFMChZfy4arzHwtRes=; b=UEW9J5h8xA21rKQnW8+3rDycmx36CZWyTIZ1aT3QhxmBfaPk55tlGKBzP0cAsc7Qokuw2YBn0eU1 ZGj5kp4fCIjcqWWyHO+RRkz/w4oqGlVjnPMAoxSyjhhTz2M8phYc X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Small cleanup to get rid of exports of the lowlevel hid drivers and to make them const. To: Hans de Goede To: Jiri Kosina To: Benjamin Tissoires To: David Rheinsberg To: Marcel Holtmann To: Johan Hedberg To: Luiz Augusto von Dentz To: "David S. Miller" To: Eric Dumazet To: Jakub Kicinski To: Paolo Abeni Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-usb@vger.kernel.org Cc: linux-bluetooth@vger.kernel.org Cc: netdev@vger.kernel.org Reviewed-by: David Rheinsberg Reviewed-by: Hans de Goede --- Thomas Weißschuh (8): HID: letsketch: Use hid_is_usb() HID: usbhid: Make hid_is_usb() non-inline HID: Remove unused function hid_is_using_ll_driver() HID: Unexport struct usb_hid_driver HID: Unexport struct uhid_hid_driver HID: Unexport struct hidp_hid_driver HID: Unexport struct i2c_hid_ll_driver HID: Make lowlevel driver structs const drivers/hid/hid-letsketch.c | 2 +- drivers/hid/i2c-hid/i2c-hid-core.c | 3 +-- drivers/hid/uhid.c | 3 +-- drivers/hid/usbhid/hid-core.c | 9 +++++++-- include/linux/hid.h | 18 ++---------------- net/bluetooth/hidp/core.c | 3 +-- 6 files changed, 13 insertions(+), 25 deletions(-) --- base-commit: d264dd3bbbd16b56239e889023fbe49413a58eaf change-id: 20221222-hid-b9551f9fa236 Best regards,