]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: oxpec: Rename ec group to tt_toggle
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 25 Apr 2025 11:18:11 +0000 (13:18 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 30 Apr 2025 11:05:31 +0000 (14:05 +0300)
commitb72e0b671ddff48d2fb59e082a9e7f8ada6d7d69
tree8ba6cfa319f6abcf24e7c5b1899455675d64ee74
parent3abff549e0ec05649b7a97a141399123de4c104b
platform/x86: oxpec: Rename ec group to tt_toggle

Currently, the EC group is used for the turbo button. However, the next
patch in the series adds support for the LED button in X1 devices, which
is only applicable for X1 devices. Therefore, rename it to prepare for
adding the second group. And make it const while at it.

Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250425111821.88746-7-lkml@antheas.dev
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/oxpec.c