]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: xgene-sb: Remove unneeded definitions for properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2024 13:45:00 +0000 (16:45 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 22 Oct 2024 07:21:12 +0000 (09:21 +0200)
commit8b26b8e8be3eac0a3beacf1f07bf2dfb4d679d37
tree9493e6767a014f0e8d24227b650d56137450e796
parent9eb1e8276155b9f540281f2dbf59885efbb9f09f
gpio: xgene-sb: Remove unneeded definitions for properties

There are three definitions for the property names. Remove them as:
1) each of them is only used once;
2) in all cases the definition is longer than the value.

In the result code is better and grepping on the property immediately
gets the function in which is being used which helps to guess the type
of the value.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241018134550.2071101-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-xgene-sb.c