From: Hans de Goede Date: Thu, 14 Jan 2016 08:41:47 +0000 (+0100) Subject: ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit X-Git-Tag: v4.14-rc1~3904^2~1^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=382d11639f7ca6d3ddca3a231267081bd29b45bd;p=platform%2Fkernel%2Flinux-rpi.git ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit Document that acpi_video_handles_brightness_key_presses()'s return value may change over time and should not be cached. Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki --- diff --git a/include/acpi/video.h b/include/acpi/video.h index f11d342..5ca2f2c 100644 --- a/include/acpi/video.h +++ b/include/acpi/video.h @@ -32,6 +32,10 @@ extern int acpi_video_get_edid(struct acpi_device *device, int type, int device_id, void **edid); extern enum acpi_backlight_type acpi_video_get_backlight_type(void); extern void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type); +/* + * Note: The value returned by acpi_video_handles_brightness_key_presses() + * may change over time and should not be cached. + */ extern bool acpi_video_handles_brightness_key_presses(void); #else static inline int acpi_video_register(void) { return 0; }