From d28f2f01236017cb0fdc643787ee89dfdd45b0f5 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Wed, 24 May 2017 07:00:48 +0200 Subject: [PATCH] hidpp20: keep function names consistent Signed-off-by: Benjamin Tissoires --- src/hidpp20.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/hidpp20.c b/src/hidpp20.c index b5460a93..e7e4829f 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -1893,8 +1893,8 @@ hidpp20_buttons_from_cpu(struct hidpp20_profile *profile, } static void -hidpp20_onboard_profile_read_led(struct hidpp20_led *led, - struct hidpp20_internal_led internal_led) +hidpp20_onboard_profiles_read_led(struct hidpp20_led *led, + struct hidpp20_internal_led internal_led) { uint16_t rate = 0; uint8_t brightness = 0; @@ -1950,7 +1950,7 @@ int hidpp20_onboard_profiles_read(struct hidpp20_device *device, } for (i = 0; i < profiles_list->num_leds; i++) - hidpp20_onboard_profile_read_led(&profile->leds[i], pdata.profile.leds[i]); + hidpp20_onboard_profiles_read_led(&profile->leds[i], pdata.profile.leds[i]); hidpp20_buttons_to_cpu(device, profile, pdata.profile.buttons, profiles_list->num_buttons); @@ -1970,8 +1970,8 @@ int hidpp20_onboard_profiles_read(struct hidpp20_device *device, } static void -hidpp20_onboard_write_profile_led(struct hidpp20_internal_led *internal_led, - struct hidpp20_led *led) +hidpp20_onboard_profiles_write_led(struct hidpp20_internal_led *internal_led, + struct hidpp20_led *led) { uint16_t rate = led->rate; uint8_t brightness = led->brightness; @@ -2029,7 +2029,7 @@ int hidpp20_onboard_profiles_write(struct hidpp20_device *device, } for (i = 0; i < profiles_list->num_leds; i++) - hidpp20_onboard_write_profile_led(&pdata.profile.leds[i], &profile->leds[i]); + hidpp20_onboard_profiles_write_led(&pdata.profile.leds[i], &profile->leds[i]); hidpp20_buttons_from_cpu(profile, pdata.profile.buttons, profiles_list->num_buttons);