mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
auxdisplay: cfag12864bfb: code indent should use tabs where possible
Resolves the checkpatch error. Signed-off-by: Huiquan Deng <denghuiquan@cdjrlc.com> [reworded and avoid moving the line] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
1515b849f7
commit
4e5d74fc6b
@ -38,8 +38,8 @@ static const struct fb_var_screeninfo cfag12864bfb_var = {
|
|||||||
.yres_virtual = CFAG12864B_HEIGHT,
|
.yres_virtual = CFAG12864B_HEIGHT,
|
||||||
.bits_per_pixel = 1,
|
.bits_per_pixel = 1,
|
||||||
.red = { 0, 1, 0 },
|
.red = { 0, 1, 0 },
|
||||||
.green = { 0, 1, 0 },
|
.green = { 0, 1, 0 },
|
||||||
.blue = { 0, 1, 0 },
|
.blue = { 0, 1, 0 },
|
||||||
.left_margin = 0,
|
.left_margin = 0,
|
||||||
.right_margin = 0,
|
.right_margin = 0,
|
||||||
.upper_margin = 0,
|
.upper_margin = 0,
|
||||||
@ -67,7 +67,7 @@ static const struct fb_ops cfag12864bfb_ops = {
|
|||||||
static int cfag12864bfb_probe(struct platform_device *device)
|
static int cfag12864bfb_probe(struct platform_device *device)
|
||||||
{
|
{
|
||||||
int ret = -EINVAL;
|
int ret = -EINVAL;
|
||||||
struct fb_info *info = framebuffer_alloc(0, &device->dev);
|
struct fb_info *info = framebuffer_alloc(0, &device->dev);
|
||||||
|
|
||||||
if (!info)
|
if (!info)
|
||||||
goto none;
|
goto none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user