linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] video: backlight: da9052: Constify platform_device_id
@ 2015-05-01 15:38 Krzysztof Kozlowski
  2015-05-01 15:38 ` [PATCH 2/4] video: fbdev: imxfb: " Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:38 UTC (permalink / raw)
  To: Support Opensource, Jingoo Han, Lee Jones,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Sascha Hauer,
	linux-fbdev, linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 drivers/video/backlight/da9052_bl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c
index b1943e7735a1..fd2be417aa64 100644
--- a/drivers/video/backlight/da9052_bl.c
+++ b/drivers/video/backlight/da9052_bl.c
@@ -152,7 +152,7 @@ static int da9052_backlight_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static struct platform_device_id da9052_wled_ids[] = {
+static const struct platform_device_id da9052_wled_ids[] = {
 	{
 		.name		= "da9052-wled1",
 		.driver_data	= DA9052_TYPE_WLED1,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-05-01 15:38 [PATCH 1/4] video: backlight: da9052: Constify platform_device_id Krzysztof Kozlowski
@ 2015-05-01 15:38 ` Krzysztof Kozlowski
  2015-05-05  8:28   ` Lee Jones
  2015-05-01 15:38 ` [PATCH 3/4] video: fbdev: mxsfb: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:38 UTC (permalink / raw)
  To: Support Opensource, Jingoo Han, Lee Jones,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Sascha Hauer,
	linux-fbdev, linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 drivers/video/fbdev/imxfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c
index 84d1d29e532c..cee88603efc9 100644
--- a/drivers/video/fbdev/imxfb.c
+++ b/drivers/video/fbdev/imxfb.c
@@ -170,7 +170,7 @@ struct imxfb_info {
 	struct regulator	*lcd_pwr;
 };
 
-static struct platform_device_id imxfb_devtype[] = {
+static const struct platform_device_id imxfb_devtype[] = {
 	{
 		.name = "imx1-fb",
 		.driver_data = IMX1_FB,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 3/4] video: fbdev: mxsfb: Constify platform_device_id
  2015-05-01 15:38 [PATCH 1/4] video: backlight: da9052: Constify platform_device_id Krzysztof Kozlowski
  2015-05-01 15:38 ` [PATCH 2/4] video: fbdev: imxfb: " Krzysztof Kozlowski
@ 2015-05-01 15:38 ` Krzysztof Kozlowski
  2015-05-05  8:28   ` Lee Jones
  2015-05-01 15:38 ` [PATCH 4/4] video: fbdev: s3c-fb: " Krzysztof Kozlowski
  2015-05-05  8:27 ` [PATCH 1/4] video: backlight: da9052: " Lee Jones
  3 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:38 UTC (permalink / raw)
  To: Support Opensource, Jingoo Han, Lee Jones,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Sascha Hauer,
	linux-fbdev, linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 drivers/video/fbdev/mxsfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c
index f8ac4a452f26..497971c82bb1 100644
--- a/drivers/video/fbdev/mxsfb.c
+++ b/drivers/video/fbdev/mxsfb.c
@@ -814,7 +814,7 @@ static void mxsfb_free_videomem(struct mxsfb_info *host)
 	free_pages_exact(fb_info->screen_base, fb_info->fix.smem_len);
 }
 
-static struct platform_device_id mxsfb_devtype[] = {
+static const struct platform_device_id mxsfb_devtype[] = {
 	{
 		.name = "imx23-fb",
 		.driver_data = MXSFB_V3,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 4/4] video: fbdev: s3c-fb: Constify platform_device_id
  2015-05-01 15:38 [PATCH 1/4] video: backlight: da9052: Constify platform_device_id Krzysztof Kozlowski
  2015-05-01 15:38 ` [PATCH 2/4] video: fbdev: imxfb: " Krzysztof Kozlowski
  2015-05-01 15:38 ` [PATCH 3/4] video: fbdev: mxsfb: " Krzysztof Kozlowski
@ 2015-05-01 15:38 ` Krzysztof Kozlowski
  2015-05-05  8:28   ` Lee Jones
  2015-05-05  8:27 ` [PATCH 1/4] video: backlight: da9052: " Lee Jones
  3 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:38 UTC (permalink / raw)
  To: Support Opensource, Jingoo Han, Lee Jones,
	Jean-Christophe Plagniol-Villard, Tomi Valkeinen, Sascha Hauer,
	linux-fbdev, linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 drivers/video/fbdev/s3c-fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c
index 7e3a05fc47aa..f72dd12456f9 100644
--- a/drivers/video/fbdev/s3c-fb.c
+++ b/drivers/video/fbdev/s3c-fb.c
@@ -1938,7 +1938,7 @@ static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = {
 	},
 };
 
-static struct platform_device_id s3c_fb_driver_ids[] = {
+static const struct platform_device_id s3c_fb_driver_ids[] = {
 	{
 		.name		= "s3c-fb",
 		.driver_data	= (unsigned long)&s3c_fb_data_64xx,
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/4] video: backlight: da9052: Constify platform_device_id
  2015-05-01 15:38 [PATCH 1/4] video: backlight: da9052: Constify platform_device_id Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2015-05-01 15:38 ` [PATCH 4/4] video: fbdev: s3c-fb: " Krzysztof Kozlowski
@ 2015-05-05  8:27 ` Lee Jones
  3 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2015-05-05  8:27 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Support Opensource, Jingoo Han, Jean-Christophe Plagniol-Villard,
	Tomi Valkeinen, Sascha Hauer, linux-fbdev, linux-kernel,
	linux-arm-kernel

On Sat, 02 May 2015, Krzysztof Kozlowski wrote:

> The platform_device_id is not modified by the driver and core uses it as
> const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  drivers/video/backlight/da9052_bl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c
> index b1943e7735a1..fd2be417aa64 100644
> --- a/drivers/video/backlight/da9052_bl.c
> +++ b/drivers/video/backlight/da9052_bl.c
> @@ -152,7 +152,7 @@ static int da9052_backlight_remove(struct platform_device *pdev)
>  	return 0;
>  }
>  
> -static struct platform_device_id da9052_wled_ids[] = {
> +static const struct platform_device_id da9052_wled_ids[] = {
>  	{
>  		.name		= "da9052-wled1",
>  		.driver_data	= DA9052_TYPE_WLED1,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-05-01 15:38 ` [PATCH 2/4] video: fbdev: imxfb: " Krzysztof Kozlowski
@ 2015-05-05  8:28   ` Lee Jones
  2015-06-03 11:38     ` Tomi Valkeinen
  0 siblings, 1 reply; 12+ messages in thread
From: Lee Jones @ 2015-05-05  8:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Support Opensource, Jingoo Han, Jean-Christophe Plagniol-Villard,
	Tomi Valkeinen, Sascha Hauer, linux-fbdev, linux-kernel,
	linux-arm-kernel

On Sat, 02 May 2015, Krzysztof Kozlowski wrote:

> The platform_device_id is not modified by the driver and core uses it as
> const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  drivers/video/fbdev/imxfb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c
> index 84d1d29e532c..cee88603efc9 100644
> --- a/drivers/video/fbdev/imxfb.c
> +++ b/drivers/video/fbdev/imxfb.c
> @@ -170,7 +170,7 @@ struct imxfb_info {
>  	struct regulator	*lcd_pwr;
>  };
>  
> -static struct platform_device_id imxfb_devtype[] = {
> +static const struct platform_device_id imxfb_devtype[] = {
>  	{
>  		.name = "imx1-fb",
>  		.driver_data = IMX1_FB,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/4] video: fbdev: mxsfb: Constify platform_device_id
  2015-05-01 15:38 ` [PATCH 3/4] video: fbdev: mxsfb: " Krzysztof Kozlowski
@ 2015-05-05  8:28   ` Lee Jones
  0 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2015-05-05  8:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Support Opensource, Jingoo Han, Jean-Christophe Plagniol-Villard,
	Tomi Valkeinen, Sascha Hauer, linux-fbdev, linux-kernel,
	linux-arm-kernel

On Sat, 02 May 2015, Krzysztof Kozlowski wrote:

> The platform_device_id is not modified by the driver and core uses it as
> const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  drivers/video/fbdev/mxsfb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c
> index f8ac4a452f26..497971c82bb1 100644
> --- a/drivers/video/fbdev/mxsfb.c
> +++ b/drivers/video/fbdev/mxsfb.c
> @@ -814,7 +814,7 @@ static void mxsfb_free_videomem(struct mxsfb_info *host)
>  	free_pages_exact(fb_info->screen_base, fb_info->fix.smem_len);
>  }
>  
> -static struct platform_device_id mxsfb_devtype[] = {
> +static const struct platform_device_id mxsfb_devtype[] = {
>  	{
>  		.name = "imx23-fb",
>  		.driver_data = MXSFB_V3,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 4/4] video: fbdev: s3c-fb: Constify platform_device_id
  2015-05-01 15:38 ` [PATCH 4/4] video: fbdev: s3c-fb: " Krzysztof Kozlowski
@ 2015-05-05  8:28   ` Lee Jones
  0 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2015-05-05  8:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Support Opensource, Jingoo Han, Jean-Christophe Plagniol-Villard,
	Tomi Valkeinen, Sascha Hauer, linux-fbdev, linux-kernel,
	linux-arm-kernel

On Sat, 02 May 2015, Krzysztof Kozlowski wrote:

> The platform_device_id is not modified by the driver and core uses it as
> const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  drivers/video/fbdev/s3c-fb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c
> index 7e3a05fc47aa..f72dd12456f9 100644
> --- a/drivers/video/fbdev/s3c-fb.c
> +++ b/drivers/video/fbdev/s3c-fb.c
> @@ -1938,7 +1938,7 @@ static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = {
>  	},
>  };
>  
> -static struct platform_device_id s3c_fb_driver_ids[] = {
> +static const struct platform_device_id s3c_fb_driver_ids[] = {
>  	{
>  		.name		= "s3c-fb",
>  		.driver_data	= (unsigned long)&s3c_fb_data_64xx,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-05-05  8:28   ` Lee Jones
@ 2015-06-03 11:38     ` Tomi Valkeinen
  2015-06-03 11:50       ` Lee Jones
  0 siblings, 1 reply; 12+ messages in thread
From: Tomi Valkeinen @ 2015-06-03 11:38 UTC (permalink / raw)
  To: Lee Jones
  Cc: Krzysztof Kozlowski, Support Opensource, Jingoo Han,
	Jean-Christophe Plagniol-Villard, Sascha Hauer, linux-fbdev,
	linux-kernel, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Hi Lee,

On 05/05/15 11:28, Lee Jones wrote:
> On Sat, 02 May 2015, Krzysztof Kozlowski wrote:
> 
>> The platform_device_id is not modified by the driver and core uses it as
>> const.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
>> ---
>>  drivers/video/fbdev/imxfb.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Applied, thanks.

You applied the fbdev changes in this series also, not only the
backlight changes?

 Tomi


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-06-03 11:38     ` Tomi Valkeinen
@ 2015-06-03 11:50       ` Lee Jones
  2015-06-03 11:53         ` Tomi Valkeinen
  0 siblings, 1 reply; 12+ messages in thread
From: Lee Jones @ 2015-06-03 11:50 UTC (permalink / raw)
  To: Tomi Valkeinen
  Cc: Krzysztof Kozlowski, Support Opensource, Jingoo Han,
	Jean-Christophe Plagniol-Villard, Sascha Hauer, linux-fbdev,
	linux-kernel, linux-arm-kernel

On Wed, 03 Jun 2015, Tomi Valkeinen wrote:

> Hi Lee,
> 
> On 05/05/15 11:28, Lee Jones wrote:
> > On Sat, 02 May 2015, Krzysztof Kozlowski wrote:
> > 
> >> The platform_device_id is not modified by the driver and core uses it as
> >> const.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> >> ---
> >>  drivers/video/fbdev/imxfb.c | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > Applied, thanks.
> 
> You applied the fbdev changes in this series also, not only the
> backlight changes?

Ah, yes I did.  I assumed they were all due for Backlight.

Would you like me to un-apply the non-Backlight patches?

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-06-03 11:50       ` Lee Jones
@ 2015-06-03 11:53         ` Tomi Valkeinen
  2015-06-03 13:42           ` Lee Jones
  0 siblings, 1 reply; 12+ messages in thread
From: Tomi Valkeinen @ 2015-06-03 11:53 UTC (permalink / raw)
  To: Lee Jones
  Cc: Krzysztof Kozlowski, Support Opensource, Jingoo Han,
	Jean-Christophe Plagniol-Villard, Sascha Hauer, linux-fbdev,
	linux-kernel, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]



On 03/06/15 14:50, Lee Jones wrote:
> On Wed, 03 Jun 2015, Tomi Valkeinen wrote:
> 
>> Hi Lee,
>>
>> On 05/05/15 11:28, Lee Jones wrote:
>>> On Sat, 02 May 2015, Krzysztof Kozlowski wrote:
>>>
>>>> The platform_device_id is not modified by the driver and core uses it as
>>>> const.
>>>>
>>>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
>>>> ---
>>>>  drivers/video/fbdev/imxfb.c | 2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> Applied, thanks.
>>
>> You applied the fbdev changes in this series also, not only the
>> backlight changes?
> 
> Ah, yes I did.  I assumed they were all due for Backlight.
> 
> Would you like me to un-apply the non-Backlight patches?

If you can easily remove them, yes.

But chances for conflict are quite minimal, so if you already have a
pile of commits on top of these, it's fine if they go via backlight tree.

 Tomi


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id
  2015-06-03 11:53         ` Tomi Valkeinen
@ 2015-06-03 13:42           ` Lee Jones
  0 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2015-06-03 13:42 UTC (permalink / raw)
  To: Tomi Valkeinen
  Cc: Krzysztof Kozlowski, Support Opensource, Jingoo Han,
	Jean-Christophe Plagniol-Villard, Sascha Hauer, linux-fbdev,
	linux-kernel, linux-arm-kernel

On Wed, 03 Jun 2015, Tomi Valkeinen wrote:
> On 03/06/15 14:50, Lee Jones wrote:
> > On Wed, 03 Jun 2015, Tomi Valkeinen wrote:
> > 
> >> Hi Lee,
> >>
> >> On 05/05/15 11:28, Lee Jones wrote:
> >>> On Sat, 02 May 2015, Krzysztof Kozlowski wrote:
> >>>
> >>>> The platform_device_id is not modified by the driver and core uses it as
> >>>> const.
> >>>>
> >>>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> >>>> ---
> >>>>  drivers/video/fbdev/imxfb.c | 2 +-
> >>>>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> Applied, thanks.
> >>
> >> You applied the fbdev changes in this series also, not only the
> >> backlight changes?
> > 
> > Ah, yes I did.  I assumed they were all due for Backlight.
> > 
> > Would you like me to un-apply the non-Backlight patches?
> 
> If you can easily remove them, yes.
> 
> But chances for conflict are quite minimal, so if you already have a
> pile of commits on top of these, it's fine if they go via backlight tree.

I can easily remove them, no problem.

Consider them unapplied.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-03 13:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 15:38 [PATCH 1/4] video: backlight: da9052: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:38 ` [PATCH 2/4] video: fbdev: imxfb: " Krzysztof Kozlowski
2015-05-05  8:28   ` Lee Jones
2015-06-03 11:38     ` Tomi Valkeinen
2015-06-03 11:50       ` Lee Jones
2015-06-03 11:53         ` Tomi Valkeinen
2015-06-03 13:42           ` Lee Jones
2015-05-01 15:38 ` [PATCH 3/4] video: fbdev: mxsfb: " Krzysztof Kozlowski
2015-05-05  8:28   ` Lee Jones
2015-05-01 15:38 ` [PATCH 4/4] video: fbdev: s3c-fb: " Krzysztof Kozlowski
2015-05-05  8:28   ` Lee Jones
2015-05-05  8:27 ` [PATCH 1/4] video: backlight: da9052: " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).