Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1407336 > unrolled thread

[PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch"

Started byBenson Leung <bleung@chromium.org>
First post2016-05-26 04:00 +0200
Last post2016-05-28 17:50 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch" Benson Leung <bleung@chromium.org> - 2016-05-26 04:00 +0200
    Re: [PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch" Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-05-26 13:10 +0200
      Re: [PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch" Olof Johansson <olof@lixom.net> - 2016-05-28 04:40 +0200
        Re: [PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch" Olof Johansson <olof@lixom.net> - 2016-05-28 17:50 +0200

#1407336 — [PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch"

FromBenson Leung <bleung@chromium.org>
Date2016-05-26 04:00 +0200
Subject[PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch"
Message-ID<rCSKC-8n2-7@gated-at.bofh.it>
This reverts commit bff3c624dc7261a084a4d25a0b09c3fb0fec872a.

Board "Leon" is otherwise known as "Toshiba CB35" and we already have
the entry that supports that board as of this commit :
963cb6f platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch

Remove this duplicate.

Signed-off-by: Benson Leung <bleung@chromium.org>
---
 drivers/platform/chrome/chromeos_laptop.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index 8398a7d..e8a44a9 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -514,13 +514,6 @@ static struct chromeos_laptop cr48 = {
 	},
 };
 
-static struct chromeos_laptop leon = {
-	.i2c_peripherals = {
-		/* Touchpad. */
-		{ .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
-	},
-};
-
 #define _CBDD(board_) \
 	.callback = chromeos_laptop_dmi_matched, \
 	.driver_data = (void *)&board_
@@ -608,14 +601,6 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
 		},
 		_CBDD(cr48),
 	},
-	{
-		.ident = "Leon",
-		.matches = {
-			DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
-		},
-		_CBDD(leon),
-	},
 	{ }
 };
 MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table);
-- 
2.8.0.rc3.226.g39d4020

[toc] | [next] | [standalone]


#1407523

FromEnric Balletbo i Serra <enric.balletbo@collabora.com>
Date2016-05-26 13:10 +0200
Message-ID<rD1kS-5GF-21@gated-at.bofh.it>
In reply to#1407336
Hi Benson, Olof

On 26/05/16 03:59, Benson Leung wrote:
> This reverts commit bff3c624dc7261a084a4d25a0b09c3fb0fec872a.
> 
> Board "Leon" is otherwise known as "Toshiba CB35" and we already have
> the entry that supports that board as of this commit :
> 963cb6f platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
> 
> Remove this duplicate.
> 
> Signed-off-by: Benson Leung <bleung@chromium.org>
> ---
>  drivers/platform/chrome/chromeos_laptop.c | 15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
> index 8398a7d..e8a44a9 100644
> --- a/drivers/platform/chrome/chromeos_laptop.c
> +++ b/drivers/platform/chrome/chromeos_laptop.c
> @@ -514,13 +514,6 @@ static struct chromeos_laptop cr48 = {
>  	},
>  };
>  
> -static struct chromeos_laptop leon = {
> -	.i2c_peripherals = {
> -		/* Touchpad. */
> -		{ .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
> -	},
> -};
> -
>  #define _CBDD(board_) \
>  	.callback = chromeos_laptop_dmi_matched, \
>  	.driver_data = (void *)&board_
> @@ -608,14 +601,6 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
>  		},
>  		_CBDD(cr48),
>  	},
> -	{
> -		.ident = "Leon",
> -		.matches = {
> -			DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
> -			DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
> -		},
> -		_CBDD(leon),
> -	},
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table);
> 

I think my patch is not applied in mainline yet, I'm not sure if Olof has the patch in his working tree but in such case maybe he can simply remove the patch instead of apply and then revert it?

Just an opinion, thanks.
 Enric

[toc] | [prev] | [next] | [standalone]


#1408371

FromOlof Johansson <olof@lixom.net>
Date2016-05-28 04:40 +0200
Message-ID<rDCkp-3dX-5@gated-at.bofh.it>
In reply to#1407523
On Thu, May 26, 2016 at 4:07 AM, Enric Balletbo i Serra
<enric.balletbo@collabora.com> wrote:
> Hi Benson, Olof
>
> On 26/05/16 03:59, Benson Leung wrote:
>> This reverts commit bff3c624dc7261a084a4d25a0b09c3fb0fec872a.
>>
>> Board "Leon" is otherwise known as "Toshiba CB35" and we already have
>> the entry that supports that board as of this commit :
>> 963cb6f platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
>>
>> Remove this duplicate.
>>
>> Signed-off-by: Benson Leung <bleung@chromium.org>
>> ---
>>  drivers/platform/chrome/chromeos_laptop.c | 15 ---------------
>>  1 file changed, 15 deletions(-)
>>
>> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
>> index 8398a7d..e8a44a9 100644
>> --- a/drivers/platform/chrome/chromeos_laptop.c
>> +++ b/drivers/platform/chrome/chromeos_laptop.c
>> @@ -514,13 +514,6 @@ static struct chromeos_laptop cr48 = {
>>       },
>>  };
>>
>> -static struct chromeos_laptop leon = {
>> -     .i2c_peripherals = {
>> -             /* Touchpad. */
>> -             { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
>> -     },
>> -};
>> -
>>  #define _CBDD(board_) \
>>       .callback = chromeos_laptop_dmi_matched, \
>>       .driver_data = (void *)&board_
>> @@ -608,14 +601,6 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
>>               },
>>               _CBDD(cr48),
>>       },
>> -     {
>> -             .ident = "Leon",
>> -             .matches = {
>> -                     DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
>> -                     DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
>> -             },
>> -             _CBDD(leon),
>> -     },
>>       { }
>>  };
>>  MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table);
>>
>
> I think my patch is not applied in mainline yet, I'm not sure if Olof has the patch in his working tree but in such case maybe he can simply remove the patch instead of apply and then revert it?
>
> Just an opinion, thanks.

Yeah, good point. Done, even though it meant a full rebase right
before I send the pull request. :-/


-Olof

[toc] | [prev] | [next] | [standalone]


#1408492

FromOlof Johansson <olof@lixom.net>
Date2016-05-28 17:50 +0200
Message-ID<rDOEW-2f2-17@gated-at.bofh.it>
In reply to#1408371
On second thought, I went with the revert instead. Generating pull request now.


-Olof

On Fri, May 27, 2016 at 7:37 PM, Olof Johansson <olof@lixom.net> wrote:
> On Thu, May 26, 2016 at 4:07 AM, Enric Balletbo i Serra
> <enric.balletbo@collabora.com> wrote:
>> Hi Benson, Olof
>>
>> On 26/05/16 03:59, Benson Leung wrote:
>>> This reverts commit bff3c624dc7261a084a4d25a0b09c3fb0fec872a.
>>>
>>> Board "Leon" is otherwise known as "Toshiba CB35" and we already have
>>> the entry that supports that board as of this commit :
>>> 963cb6f platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
>>>
>>> Remove this duplicate.
>>>
>>> Signed-off-by: Benson Leung <bleung@chromium.org>
>>> ---
>>>  drivers/platform/chrome/chromeos_laptop.c | 15 ---------------
>>>  1 file changed, 15 deletions(-)
>>>
>>> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
>>> index 8398a7d..e8a44a9 100644
>>> --- a/drivers/platform/chrome/chromeos_laptop.c
>>> +++ b/drivers/platform/chrome/chromeos_laptop.c
>>> @@ -514,13 +514,6 @@ static struct chromeos_laptop cr48 = {
>>>       },
>>>  };
>>>
>>> -static struct chromeos_laptop leon = {
>>> -     .i2c_peripherals = {
>>> -             /* Touchpad. */
>>> -             { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
>>> -     },
>>> -};
>>> -
>>>  #define _CBDD(board_) \
>>>       .callback = chromeos_laptop_dmi_matched, \
>>>       .driver_data = (void *)&board_
>>> @@ -608,14 +601,6 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
>>>               },
>>>               _CBDD(cr48),
>>>       },
>>> -     {
>>> -             .ident = "Leon",
>>> -             .matches = {
>>> -                     DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
>>> -                     DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
>>> -             },
>>> -             _CBDD(leon),
>>> -     },
>>>       { }
>>>  };
>>>  MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table);
>>>
>>
>> I think my patch is not applied in mainline yet, I'm not sure if Olof has the patch in his working tree but in such case maybe he can simply remove the patch instead of apply and then revert it?
>>
>> Just an opinion, thanks.
>
> Yeah, good point. Done, even though it meant a full rebase right
> before I send the pull request. :-/
>
>
> -Olof

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web