Commit dbd8c649 authored by Timo A. Aranjo's avatar Timo A. Aranjo Committed by Greg Kroah-Hartman

Staging: sm750fb: Fix basic coding style issues

The word "enought" was changed to read as "enough".
In addition to this, there was a missing new-line after varaible
declarations within a function.
Signed-off-by: default avatarTimo A. Aranjo <timo.aranjo@aol.com>
Link: https://lore.kernel.org/r/20200826012101.12162-1-timo.aranjo@aol.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6627a5e
...@@ -411,6 +411,7 @@ static int __maybe_unused lynxfb_suspend(struct device *dev) ...@@ -411,6 +411,7 @@ static int __maybe_unused lynxfb_suspend(struct device *dev)
{ {
struct fb_info *info; struct fb_info *info;
struct sm750_dev *sm750_dev; struct sm750_dev *sm750_dev;
sm750_dev = dev_get_drvdata(dev); sm750_dev = dev_get_drvdata(dev);
console_lock(); console_lock();
...@@ -500,7 +501,7 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var, ...@@ -500,7 +501,7 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
var->height = var->width = -1; var->height = var->width = -1;
var->accel_flags = 0;/* FB_ACCELF_TEXT; */ var->accel_flags = 0;/* FB_ACCELF_TEXT; */
/* check if current fb's video memory big enought to hold the onscreen*/ /* check if current fb's video memory big enough to hold the onscreen*/
request = var->xres_virtual * (var->bits_per_pixel >> 3); request = var->xres_virtual * (var->bits_per_pixel >> 3);
/* defaulty crtc->channel go with par->index */ /* defaulty crtc->channel go with par->index */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment