linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue
@ 2011-11-18  4:34 Zac Storer
  2011-11-23  6:52 ` [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style Florian Tobias Schandinat
  0 siblings, 1 reply; 2+ messages in thread
From: Zac Storer @ 2011-11-18  4:34 UTC (permalink / raw)
  To: FlorianSchandinat; +Cc: linux-fbdev, linux-kernel, Zac Storer

Fixed a brace coding style issue.

Signed-off-by: Zac Storer <zac.3.14159@gmail.com>
---
 drivers/video/controlfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/controlfb.c b/drivers/video/controlfb.c
index 7b2c40a..0c189b3 100644
--- a/drivers/video/controlfb.c
+++ b/drivers/video/controlfb.c
@@ -420,7 +420,7 @@ static int __init init_control(struct fb_info_control *p)
 
 	/* Try to pick a video mode out of NVRAM if we have one. */
 #ifdef CONFIG_NVRAM
-	if (default_cmode = CMODE_NVRAM){
+	if (default_cmode = CMODE_NVRAM) {
 		cmode = nvram_read_byte(NV_CMODE);
 		if(cmode < CMODE_8 || cmode > CMODE_32)
 			cmode = CMODE_8;
-- 
1.7.7.3


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

* Re: [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style
  2011-11-18  4:34 [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue Zac Storer
@ 2011-11-23  6:52 ` Florian Tobias Schandinat
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2011-11-23  6:52 UTC (permalink / raw)
  To: Zac Storer; +Cc: linux-fbdev, linux-kernel

On 11/18/2011 04:34 AM, Zac Storer wrote:
> Fixed a brace coding style issue.
> 
> Signed-off-by: Zac Storer <zac.3.14159@gmail.com>

Applied.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/controlfb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/controlfb.c b/drivers/video/controlfb.c
> index 7b2c40a..0c189b3 100644
> --- a/drivers/video/controlfb.c
> +++ b/drivers/video/controlfb.c
> @@ -420,7 +420,7 @@ static int __init init_control(struct fb_info_control *p)
>  
>  	/* Try to pick a video mode out of NVRAM if we have one. */
>  #ifdef CONFIG_NVRAM
> -	if (default_cmode = CMODE_NVRAM){
> +	if (default_cmode = CMODE_NVRAM) {
>  		cmode = nvram_read_byte(NV_CMODE);
>  		if(cmode < CMODE_8 || cmode > CMODE_32)
>  			cmode = CMODE_8;


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

end of thread, other threads:[~2011-11-23  6:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18  4:34 [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style issue Zac Storer
2011-11-23  6:52 ` [PATCH 3/3] Drivers: video: controlfb: fixed a brace coding style Florian Tobias Schandinat

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).