Skip to content

Commit

Permalink
ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
jwrdegoede authored and rafaeljw committed Jan 15, 2016
1 parent 14e9355 commit 382d116
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/acpi/video.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 382d116

Please sign in to comment.