Re: [PATCH] Adding support for new keys (ASSIST, WEB and VAIO) of the laptop Vaio E Series.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 18, 2010 at 03:56:43AM -0300, Jorge Pereira wrote:
> Hi Mattia,

Hi Jorge,

...
> From 5b8ef2e688b64427afb82243a80af8822e063112 Mon Sep 17 00:00:00 2001
> From: Jorge Pereira <jpereiran@xxxxxxxxx>
> Date: Tue, 18 May 2010 03:56:04 -0300
> Subject: [PATCH] Adding support for new keys (ASSIST, WEB and VAIO) of the laptop Vaio E Series.
> 

Still missing your sign-off line, see Documentation/SubmittingPatches 

> ---
>  drivers/platform/x86/sony-laptop.c |   12 ++++++++++++
>  include/linux/sonypi.h             |    3 +++
>  2 files changed, 15 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
> index 1387c5f..3580ca4 100644
> --- a/drivers/platform/x86/sony-laptop.c
> +++ b/drivers/platform/x86/sony-laptop.c
> @@ -235,6 +235,9 @@ static int sony_laptop_input_index[] = {
>  	57,	/* 70 SONYPI_EVENT_VOLUME_DEC_PRESSED */
>  	-1,	/* 71 SONYPI_EVENT_BRIGHTNESS_PRESSED */
>  	58,	/* 72 SONYPI_EVENT_MEDIA_PRESSED */
> +	59, /* 73 SONYPI_EVENT_ASSIST_PRESSED */
> +	60, /* 74 SONYPI_EVENT_WEB_PRESSED */
> +	61, /* 75 SONYPI_EVENT_VAIO_PRESSED */
>  };

and while we are at it, would you mind indenting those comments like the
previous ones are with at tab? (sorry for not mentioning it before)

>  
>  static int sony_laptop_input_keycode_map[] = {
> @@ -297,6 +300,9 @@ static int sony_laptop_input_keycode_map[] = {
>  	KEY_VOLUMEUP,	/* 56 SONYPI_EVENT_VOLUME_INC_PRESSED */
>  	KEY_VOLUMEDOWN,	/* 57 SONYPI_EVENT_VOLUME_DEC_PRESSED */
>  	KEY_MEDIA,	/* 58 SONYPI_EVENT_MEDIA_PRESSED */
> +	KEY_HELP, /* 59 SONYPI_EVENT_ASSIST_PRESSED */
> +	KEY_HOMEPAGE, /* 60 SONYPI_EVENT_WEB_PRESSED */
> +	KEY_SHOP, /* 61 SONYPI_EVENT_VAIO_PRESSED */
>  };

ditto

thanks
-- 
mattia
:wq!
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux