Re: [PATCH v2 2/3] iio: proximity: add driver for Sharp GP2AP070S proximity sensor
Uwe Kleine-König <[email protected]> Thu, 30 Jul 2026 21:54:23 +0200
| Newsgroups | org.kernel.vger.linux-samsung-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <amurhVbZi_y0N55n@monoceros> |
--6iqq33laew6sina5 Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Subject: Re: [PATCH v2 2/3] iio: proximity: add driver for Sharp GP2AP070S proximity sensor MIME-Version: 1.0 Hello, On Fri, Jul 31, 2026 at 01:01:30AM +0530, Kaustabh Chakraborty wrote: > +#include <linux/i2c.h> > [...] > +#include <linux/mod_devicetable.h> <linux/i2c.h> is enough to get the definitions for i2c_device_id and of_device_id. Please rely on that and don't explicitly add an include for <linux/mod_devicetable.h>. The latter is a dependency hell and is going away soon. Best regards Uwe --6iqq33laew6sina5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmprq+wACgkQj4D7WH0S /k6zUAf/Sx1cl/BKPkqGFdNbaghmO2SASm11okWqQNPUBAASK9s2FJe8D7X0d2Pc rxbD9qNMckkIkAmLcK0z25WgZBGBFp9p7JFMNNaNtODVdDrSzVAWkpVsCP+1KxKx wpfH4GBPCJ7KZs5VSphtsnQZEUPocJI1S6+FR/2erYowET73idWdL578hdOguif3 gGC3nzPWAAeIr2NuLcA/wszaK7meQrPxhg24VjiqyZiKWV+sCg6btmb31dzv0U+w iNJKNRoMfAACrLENOmFoF7u5Ca/msHAhYS5POf7oB3t3//qGzwY98+DPRHeZzWfu loDsTIst5Wzn48eksG4i14baHoA+Rg== =xgKb -----END PGP SIGNATURE----- --6iqq33laew6sina5--