From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F24449428D for ; Fri, 16 Oct 2026 22:42:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792190533; cv=none; b=XD4ulyDoR1AP8w5d9oL+I8JsShYhqIhTYAHCRa/l6UViXof3/DGmwkCUck2k8zRcsZbhoUPHo6Z4fA3JJTinuV/GN6bOn1JHZukA/5rJJEysorPtuMnEux/ftr1qSwu0F+T+Vk+P9l1OVIMQxxxRX11Y2XlGg8Hr17kCcCxwItM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792190533; c=relaxed/simple; bh=vD1grLHt6GPMktwFJa96dlD9wop6Of2cMI4rmsKjgco=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gAwjx75J/fnhw4hhmlcJHcLn1o2H04MQao6rrO/CGO5erfXt+loXf7YDzgw9iJzNGeyfEZ3Apnf8rmzlc1LTq8GoqqkZ3ZEzEQZXEzXZEqzwoxSzk4r/jhO1IbeqUnMYgQPyfcckOjDbPerBQcmdUlHZRCYn5kmOWAIu0ehsW14= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=qCQpA0AY; arc=none smtp.client-ip=74.125.82.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qCQpA0AY" Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-3535bf8b3e0so824789eec.0 for ; Fri, 16 Oct 2026 15:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792190531; x=1792795331; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=XAjeV46NrgruTlPtug79XGAt+XjZ6oM38iwo9Lyk13o=; b=qCQpA0AYDUG3/4k8+SPTRJZNyd9yCbQhnJxARczhWpv8MWONrd+S0jpv/asdNjqJtt ORWqDd0pEIz/B/vj164lb/QQYOqsYSdWudIqCHkEm+fWGgPZd4Fvb775sAg39qLpYuTo v3zsFbiywSuqDwVq8BubHZq/fZlEaDt+cohRR+Yin/fVjMDNQjrMdDPcAsKrhEhBX1rG 8LoKYNfwsXxhr4tXBewzSS9TqbYlSBc9J7uzuux7wLLYL8EjU0v12xd+JM+BGwcs3U/r GsXRGOzGm0TH0bJsW/9E9pNld7DWbd2CwvlnEeKF8I5VT4lNdaBq50/z1NMfV6esffKW Pthg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792190531; x=1792795331; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XAjeV46NrgruTlPtug79XGAt+XjZ6oM38iwo9Lyk13o=; b=YwkJLvax9jwyanPjFjaJ56v+34VfcCVBCuh55wgzkOeyNy3+GYJ/GHf+l7AapZMCnx gVeas15HbQV4ZtZCOwLfwCbYqzNwaNOwdEdFax1uSfOJaubYIwoaaPiymXsQIiZUwLfZ Tw2NPXVwM/cfgsbqNlY8cYEvhkIdUStqaZFBsFTRGnYKAEtIBZVGmvJSu8YSqy2ZKpbo p2td49f1UZK1W1AHw4X3QMR3bgGjL46C2UR/43p5Oni4AQp/pO8EERypHIH6RUhjoWaW ja9aOO5nFnmmSUoKfBcerUbEN6QzWW4CKgTrOpWLiH7NFL8aIwOCBnBQQytZOz9wEUkf 5Zgg== X-Forwarded-Encrypted: i=1; AKwUvBz4Nfl0r6l8HhhgQ9IOqb5JfT01+xRGbEraSJ4NChVWAbvC2QrDMszazzlaEBI6W6iFxNOuEniK4sgLgoLi0WY=@vger.kernel.org X-Gm-Message-State: AFq9FYK2h/YCgMJY7ga0MOOvo58odP/o0cg0iLoTQl+4lUCDIbFKpMLT syjzDYaHltiWZ53UEukrPkTcPbKFIrKFk4TpcqqfBmfYNQs3WAAxTAr6 X-Gm-Gg: AYBFou3NLQwW1FhQuvU18xBkemGfjtmOAQALqh4x4n2/Or3bRRzo9qukRklEqiQkPQq gVq4b1f6Sm9BcToap77JPNHe8cD8sfq6wesCPOvMYODVDJgEzPmFekRSMV+hyYspag2HQo6Sv0o rmMnURJES0gm/HDwAY6CdqnaFxGG+Ni1/y5hScvTwUJnnKq+qnPi3mUFLgdHn1mnC1+NZQxhnNC 1Dr/iujdZJvQ/4pcCUBgs1g9sgndKrujWpxqrGHsVbqvCBR18mpI/W5fABqFgAPp4PFrWo+aVBd SgeO7MQMjtOtGAg7+alD1zmtSemFmo1FgufB6Gtwy/dc1IQsR55zl9SC0nI3pZLwpQCmv8eqBsC FLtyavJPm0b7ESLdU1DS1acIhkWhk1utGsy6sgxLo204eSsU7We/Q1stMx/W03d6XKo8MYo3ZSb u+C+OvKUJ/uvTrJrmw6PbXz9EjtvYQByhT/Nyiq3DTu2ZfGcT4yX9AIKXoqcyycxDeMGtA/3htF 8e8b2X2lZK+mS6/TS6K/BqfUj0/b87vjjH0bOCxj0ErJ0xwHSWj8J8C0BL00g0= X-Received: by 2002:a05:7022:296:10b0:14d:f83b:f678 with SMTP id a92af1059eb24-18513e7a0a8mr1537358c88.43.1792190531284; Fri, 16 Oct 2026 15:42:11 -0700 (PDT) Received: from dtor-ws.sjc.corp.google.com ([2a00:79e0:2ebe:8:34f0:f27d:9a5d:56e0]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1831c4d4675sm8252348c88.21.2026.10.16.15.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2026 15:42:09 -0700 (PDT) From: Dmitry Torokhov Date: Fri, 16 Oct 2026 15:41:51 -0700 Subject: [PATCH v2 4/5] HID: Drop unused linux/hidraw.h includes Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261016-test-hidraw-base-v2-4-153f67a20cad@gmail.com> References: <20261016-test-hidraw-base-v2-0-153f67a20cad@gmail.com> In-Reply-To: <20261016-test-hidraw-base-v2-0-153f67a20cad@gmail.com> To: Jiri Kosina , Benjamin Tissoires Cc: Marcel Holtmann , Luiz Augusto von Dentz , Michael Zaidman , Rishi Gupta , Heiner Kallweit , Andrej Shadura , Johannes Roith , linux-input@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.17-dev-e56a4 Several HID transport and sub-drivers include linux/hidraw.h without referencing any definitions from it. Drop these unnecessary includes. In hid-ft260, replace the hidraw.h include with linux/hid.h directly to preserve the declarations it previously relied on indirectly. Assisted-by: LLM Signed-off-by: Dmitry Torokhov --- drivers/hid/hid-ft260.c | 2 +- drivers/hid/hid-mcp2200.c | 1 - drivers/hid/hid-mcp2221.c | 1 - drivers/hid/hid-winwing.c | 1 - drivers/hid/usbhid/hid-core.c | 1 - net/bluetooth/hidp/core.c | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/hid/hid-ft260.c b/drivers/hid/hid-ft260.c index 64c9c940db46..c1a19296ebbd 100644 --- a/drivers/hid/hid-ft260.c +++ b/drivers/hid/hid-ft260.c @@ -9,7 +9,7 @@ */ #include "hid-ids.h" -#include +#include #include #include #include diff --git a/drivers/hid/hid-mcp2200.c b/drivers/hid/hid-mcp2200.c index dafdd5b4a079..9c82de069b8b 100644 --- a/drivers/hid/hid-mcp2200.c +++ b/drivers/hid/hid-mcp2200.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include "hid-ids.h" diff --git a/drivers/hid/hid-mcp2221.c b/drivers/hid/hid-mcp2221.c index d52ce3531ab7..0c3dd998498f 100644 --- a/drivers/hid/hid-mcp2221.c +++ b/drivers/hid/hid-mcp2221.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/hid/hid-winwing.c b/drivers/hid/hid-winwing.c index 19b92c2c6579..df34502d2669 100644 --- a/drivers/hid/hid-winwing.c +++ b/drivers/hid/hid-winwing.c @@ -8,7 +8,6 @@ #include #include -#include #include #include #include diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 96b0181cf819..e398afce73fc 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -34,7 +34,6 @@ #include #include #include -#include #include "usbhid.h" #include "hid-pidff.h" diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index f5bdf9f1ca63..66a0fb731c7e 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include -- 2.56.0.176.g3575e65682-goog