diff mbox series

[v1,1/1] platform/x86: asus-wmi: Fix name of mic-mute LED classdev

Message ID 20220825004305.709539-1-PaddyKP_Yao@asus.com (mailing list archive)
State Accepted, archived
Headers show
Series [v1,1/1] platform/x86: asus-wmi: Fix name of mic-mute LED classdev | expand

Commit Message

PaddyKP Yao Aug. 25, 2022, 12:43 a.m. UTC
According to well-known-leds.txt, we sould use "platform::micmute"
instead of "asus::micmute" for name of mic-mute LED classdev. This patch
fix it into good name.

Signed-off-by: PaddyKP_Yao <PaddyKP_Yao@asus.com>
---
 drivers/platform/x86/asus-wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andy Shevchenko Aug. 25, 2022, 8:20 a.m. UTC | #1
On Thu, Aug 25, 2022 at 3:48 AM PaddyKP_Yao <ispaddy@gmail.com> wrote:
>
> According to well-known-leds.txt, we sould use "platform::micmute"

should

> instead of "asus::micmute" for name of mic-mute LED classdev. This patch

the name

> fix it into good name.

a good

With typos fixed,
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Signed-off-by: PaddyKP_Yao <PaddyKP_Yao@asus.com>
> ---
>  drivers/platform/x86/asus-wmi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
> index 89b604e04d7f..3acc75c24c79 100644
> --- a/drivers/platform/x86/asus-wmi.c
> +++ b/drivers/platform/x86/asus-wmi.c
> @@ -1118,7 +1118,7 @@ static int asus_wmi_led_init(struct asus_wmi *asus)
>         }
>
>         if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MICMUTE_LED)) {
> -               asus->micmute_led.name = "asus::micmute";
> +               asus->micmute_led.name = "platform::micmute";
>                 asus->micmute_led.max_brightness = 1;
>                 asus->micmute_led.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE);
>                 asus->micmute_led.brightness_set_blocking = micmute_led_set;
> --
> 2.34.1
>
Hans de Goede Aug. 26, 2022, 9:51 a.m. UTC | #2
Hi,

On 8/25/22 10:20, Andy Shevchenko wrote:
> On Thu, Aug 25, 2022 at 3:48 AM PaddyKP_Yao <ispaddy@gmail.com> wrote:
>>
>> According to well-known-leds.txt, we sould use "platform::micmute"
> 
> should
> 
>> instead of "asus::micmute" for name of mic-mute LED classdev. This patch
> 
> the name
> 
>> fix it into good name.
> 
> a good
> 
> With typos fixed,
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

Thanks, I've fixed up the typos while applying this:

Thank you for your patch, I've applied this patch to my review-hans 
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans




> 
>> Signed-off-by: PaddyKP_Yao <PaddyKP_Yao@asus.com>
>> ---
>>  drivers/platform/x86/asus-wmi.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
>> index 89b604e04d7f..3acc75c24c79 100644
>> --- a/drivers/platform/x86/asus-wmi.c
>> +++ b/drivers/platform/x86/asus-wmi.c
>> @@ -1118,7 +1118,7 @@ static int asus_wmi_led_init(struct asus_wmi *asus)
>>         }
>>
>>         if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MICMUTE_LED)) {
>> -               asus->micmute_led.name = "asus::micmute";
>> +               asus->micmute_led.name = "platform::micmute";
>>                 asus->micmute_led.max_brightness = 1;
>>                 asus->micmute_led.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE);
>>                 asus->micmute_led.brightness_set_blocking = micmute_led_set;
>> --
>> 2.34.1
>>
> 
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index 89b604e04d7f..3acc75c24c79 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -1118,7 +1118,7 @@  static int asus_wmi_led_init(struct asus_wmi *asus)
 	}
 
 	if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MICMUTE_LED)) {
-		asus->micmute_led.name = "asus::micmute";
+		asus->micmute_led.name = "platform::micmute";
 		asus->micmute_led.max_brightness = 1;
 		asus->micmute_led.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE);
 		asus->micmute_led.brightness_set_blocking = micmute_led_set;