gpio: stmpe: Allow to compile as a module

Add the necessary boilerplate to also make this driver modular.
Keep the subsys_initcall to not change registration order for built-in.
Also add OF match table for module autoloading.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20250728060544.18169-1-alexander.stein@ew.tq-group.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Alexander Stein 2025-07-28 08:05:43 +02:00 • committed by Bartosz Golaszewski
commit 03db20aaa3
2 changed files with 19 additions and 3 deletions