From nobody Sat Feb 7 22:34:20 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDA713148DA; Tue, 13 Jan 2026 07:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768289763; cv=none; b=SpmLw7GdwXHM4P1/75IEENvDnluJFFq/38FPRSewBRxpUkdePVOvDnKcrEJ5/lHJlDllQvMETkNBFdcaklyD3+2pKzyXI7Y/gBJg2aVmPs+uUxk3jZPRIRu+5IB/HbXc0UitOBGs55XIFVyK64xxOH5r0x5SJvGyuqLvkFhmBro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768289763; c=relaxed/simple; bh=K+qe+XhI83vj/6bO+RWRIFt0Wm4qiA8w38om6/KQybM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Elb8t7RSFmAW+AjQIq1DNbKQtHK7q1Ke0Y9Ud5mUUeZS+KL609w38dtyx46Sz9i6mh1QSK0eakQnzKoU6JxqGJvfgl7B5me2KWYLyPXh8W4eGATR0WyC74XlFEZUlf8UAY77eun4iGthVcwSjKvmgZCoBRwq4K3Kga/uhADrwdw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=er30FuJT; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="er30FuJT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1768289762; x=1799825762; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=K+qe+XhI83vj/6bO+RWRIFt0Wm4qiA8w38om6/KQybM=; b=er30FuJTsDLMWGJQJUZmJW88d+Orjp5dvzeNAiLLBBwQeR6AA9msGrCE JRB69mSswsFXoyqmfl1d5BlCxUpDEQwLKloX2wm/E9PzuDRwOKPCRk2Rb iS5qy+6gRfQeS7Ic6t5tHw5MHxyTseX/ut5FOo+PQmYWec4DHwixt0erY GkZuzCGELuT42PR4SadqIHwDgYV04QBV6zPpwOWpdYR/xr47Do71UHLHW w/CRtRviVlunhMD9gjsi1Mq+eKfRDaMOe3adFtQYjZZcQ9IcnGXkWZ1Gq 4cj3obcy+Z8UHBiMNCBjVHXbw4m0d7B+2TZ/3Ipky+2dkdc1UrpFkr/gD g==; X-CSE-ConnectionGUID: 9MKzYJFKQJSnwJqfSc0nXA== X-CSE-MsgGUID: rH/umoR1THmjAKN+kLv+vA== X-IronPort-AV: E=McAfee;i="6800,10657,11669"; a="86985059" X-IronPort-AV: E=Sophos;i="6.21,222,1763452800"; d="scan'208";a="86985059" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2026 23:36:01 -0800 X-CSE-ConnectionGUID: CeDsW4p5RnSX3qD8GBkWVw== X-CSE-MsgGUID: A0HMKFTYRC6vDr5rXM9EDw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,222,1763452800"; d="scan'208";a="235557342" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa001.fm.intel.com with ESMTP; 12 Jan 2026 23:35:59 -0800 Received: by black.igk.intel.com (Postfix, from userid 1003) id EB77E98; Tue, 13 Jan 2026 08:35:57 +0100 (CET) From: Andy Shevchenko To: Andy Shevchenko , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Dmitry Torokhov Subject: [PATCH v1 1/2] Input: wdt87xx_i2c - tidy up ACPI ID table Date: Tue, 13 Jan 2026 08:35:21 +0100 Message-ID: <20260113073556.7380-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260113073556.7380-1-andriy.shevchenko@linux.intel.com> References: <20260113073556.7380-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Tidy up ACPI ID table: - drop ACPI_PTR() and hence replace acpi.h with mod_devicetable.h et al. - remove explicit driver_data initializer Signed-off-by: Andy Shevchenko --- drivers/input/touchscreen/wdt87xx_i2c.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/input/touchscreen/wdt87xx_i2c.c b/drivers/input/touchs= creen/wdt87xx_i2c.c index 88d376090e6e..99636d6eb0f3 100644 --- a/drivers/input/touchscreen/wdt87xx_i2c.c +++ b/drivers/input/touchscreen/wdt87xx_i2c.c @@ -9,17 +9,24 @@ * may be copied, distributed, and modified under those terms. */ =20 +#include +#include +#include +#include #include #include +#include #include -#include #include #include +#include +#include #include +#include +#include #include -#include -#include -#include +#include +#include #include =20 #define WDT87XX_NAME "wdt87xx_i2c" @@ -1153,13 +1160,11 @@ static const struct i2c_device_id wdt87xx_dev_id[] = =3D { }; MODULE_DEVICE_TABLE(i2c, wdt87xx_dev_id); =20 -#ifdef CONFIG_ACPI static const struct acpi_device_id wdt87xx_acpi_id[] =3D { - { "WDHT0001", 0 }, + { "WDHT0001" }, { } }; MODULE_DEVICE_TABLE(acpi, wdt87xx_acpi_id); -#endif =20 static struct i2c_driver wdt87xx_driver =3D { .probe =3D wdt87xx_ts_probe, @@ -1168,7 +1173,7 @@ static struct i2c_driver wdt87xx_driver =3D { .name =3D WDT87XX_NAME, .dev_groups =3D wdt87xx_groups, .pm =3D pm_sleep_ptr(&wdt87xx_pm_ops), - .acpi_match_table =3D ACPI_PTR(wdt87xx_acpi_id), + .acpi_match_table =3D wdt87xx_acpi_id, }, }; module_i2c_driver(wdt87xx_driver); --=20 2.50.1