This gets rid of enum led_brightness in the main led files,
because it is deprecated, and an unsigned int can be used instead.
We can get rid of led_brightness completely and
patches can also be supplied for the other drivers' files.
Signed-off-by: Abanoub Sameh
---
drivers/leds/led-class.c
This gets rid of enum led_brightness in the main led files,
because it is deprecated, and an int can be used instead,
or maybe even a uint8_t since it only goes up to 255.
Next we can also patch the other files to get rid of it completely.
Signed-off-by: Abanoub Sameh
Reported-by: kernel test
This gets rid of enum led_brightness in the main led files,
because it is deprecated, and an int can be used instead,
or maybe even a uint8_t since it only goes up to 255.
Next we can also patch the other files to get rid of it completely.
Signed-off-by: Abanoub Sameh
---
drivers/leds/led
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-sch.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-sch.c b
Added a lined between declarations and other statements according to the
kenel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-msic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index 0bef1a5a9b70..84e00e0ab953
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-msic.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-msic.c b
Added a lined between a declaration and other statements according to the
kenel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-pch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index 71dde7ceb7af..039822978eaf 100644
Removed space before comma to fix coding style error.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-msic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index 84e00e0ab953..37664e7b3ddd 100644
--- a/drivers/gpio/gpio
Added a lined between a declaration and other statements according to the
kenel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-sch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index d7cade67717b..3a1b1adb08c6 100644
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-pch.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio
Added asterisk to each line of a block and fixed and moved the ending to
the next line.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-msic.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index ea5ff2c84a26
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-intel-mid.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-intel
A small to the coding style of a comment to make it compliant with the coding
style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-intel-mid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-intel-mid.c b/drivers/gpio/gpio-intel-mid.c
index
Added a line after a declaration to fix a coding style issue.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-ml-ioh.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c
index f1b754b60413..7007621a5b55 100644
--- a/drivers/gpio/gpio
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-ml-ioh.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers
Added an empty line after a declaration to fix a coding style issue.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-intel-mid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-intel-mid.c b/drivers/gpio/gpio-intel-mid.c
index a9cef06b813b..a609964645c1 100644
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-ich.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/gpio/gpio-ich.c b
Changed 'unsigned' to 'unsigned int'.
This makes the code more uniform, and compliant with the kernel coding style.
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-crystalcove.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-crystalcove.c b
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpiolib-acpi.c | 3 ++-
drivers/gpio/gpiolib-devres.c | 16
drivers/gpio/gpiolib-legacy.c | 6 +++---
drivers/gpio/gpiolib-of.c | 3 +--
drivers/gpio/gpiolib.c| 34 +-
5 files changed
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpiolib-acpi.c | 3 ++-
drivers/gpio/gpiolib-devres.c | 16
drivers/gpio/gpiolib-legacy.c | 6 +++---
drivers/gpio/gpiolib-of.c | 3 +--
drivers/gpio/gpiolib.c| 34 +-
5 files changed
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-msic.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c
index 7e3c96e4ab2c..37664e7b3ddd 100644
--- a/drivers/gpio/gpio-msic.c
+++ b/drivers
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-pch.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index e96d28bf43b4..039822978eaf 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -95,7
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-sch.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index c65f35b68202..3a1b1adb08c6 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-crystalcove.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index 14d1f4c933b6..9391722ec107 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-ich.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
index 9960bb8b0f5b..de56c013a658 100644
--- a/drivers/gpio/gpio-ich.c
+++ b/drivers/gpio
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-ml-ioh.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c
index 92b6e958cfed..7007621a5b55 100644
--- a/drivers/gpio/gpio-ml-ioh.c
+++ b/drivers/gpio/gpio-ml
Signed-off-by: Abanoub Sameh
---
drivers/gpio/gpio-intel-mid.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/gpio/gpio-intel-mid.c b/drivers/gpio/gpio-intel-mid.c
index 86a10c808ef6..a609964645c1 100644
--- a/drivers/gpio/gpio-intel-mid.c
27 matches
Mail list logo