mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +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,
|
||||
.bits_per_pixel = 1,
|
||||
.red = { 0, 1, 0 },
|
||||
.green = { 0, 1, 0 },
|
||||
.blue = { 0, 1, 0 },
|
||||
.green = { 0, 1, 0 },
|
||||
.blue = { 0, 1, 0 },
|
||||
.left_margin = 0,
|
||||
.right_margin = 0,
|
||||
.upper_margin = 0,
|
||||
|
@ -67,7 +67,7 @@ static const struct fb_ops cfag12864bfb_ops = {
|
|||
static int cfag12864bfb_probe(struct platform_device *device)
|
||||
{
|
||||
int ret = -EINVAL;
|
||||
struct fb_info *info = framebuffer_alloc(0, &device->dev);
|
||||
struct fb_info *info = framebuffer_alloc(0, &device->dev);
|
||||
|
||||
if (!info)
|
||||
goto none;
|
||||
|
|
Loading…
Reference in a new issue