zephyr/drivers/kscan
Gerard Marull-Paretas 79e6b0e0f6 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h>
As of today <zephyr/zephyr.h> is 100% equivalent to <zephyr/kernel.h>.
This patch proposes to then include <zephyr/kernel.h> instead of
<zephyr/zephyr.h> since it is more clear that you are including the
Kernel APIs and (probably) nothing else. <zephyr/zephyr.h> sounds like a
catch-all header that may be confusing. Most applications need to
include a bunch of other things to compile, e.g. driver headers or
subsystem headers like BT, logging, etc.

The idea of a catch-all header in Zephyr is probably not feasible
anyway. Reason is that Zephyr is not a library, like it could be for
example `libpython`. Zephyr provides many utilities nowadays: a kernel,
drivers, subsystems, etc and things will likely grow. A catch-all header
would be massive, difficult to keep up-to-date. It is also likely that
an application will only build a small subset. Note that subsystem-level
headers may use a catch-all approach to make things easier, though.

NOTE: This patch is **NOT** removing the header, just removing its usage
in-tree. I'd advocate for its deprecation (add a #warning on it), but I
understand many people will have concerns.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-05 16:31:47 +02:00
..
CMakeLists.txt drivers: kscan_touch: enable the touch panel for rt1170 2022-08-17 12:07:44 +02:00
Kconfig drivers: kscan_touch: enable the touch panel for rt1170 2022-08-17 12:07:44 +02:00
Kconfig.cap1203 drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
Kconfig.cst816s drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
Kconfig.ft5336 drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
Kconfig.gt911 drivers: kscan_touch: enable the touch panel for rt1170 2022-08-17 12:07:44 +02:00
Kconfig.ht16k33 drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
Kconfig.it8xxx2 drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
Kconfig.sdl kscan: sdl: Convert driver over to devicetree 2022-08-12 17:54:03 -05:00
Kconfig.xec drivers: kscan: Update Kconfig 2022-08-09 23:37:46 -05:00
kscan_cap1203.c drivers: kscan: Add CAP1203 driver 2022-05-15 21:31:54 +02:00
kscan_cst816s.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
kscan_ft5336.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
kscan_gt911.c drivers: kscan_touch: enable the touch panel for rt1170 2022-08-17 12:07:44 +02:00
kscan_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
kscan_ht16k33.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
kscan_ite_it8xxx2.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
kscan_mchp_xec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
kscan_sdl.c kscan: sdl: Convert driver over to devicetree 2022-08-12 17:54:03 -05:00