forked from Minki/linux
Staging: fbtft: Fix parenthesis alignment coding style issue
This patch fixes the following checkpatch.pl error: CHECK:PARENTHESIS_ALIGNMENT at line 217. Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
df127f13c2
commit
4906c43a34
@ -130,9 +130,8 @@ static int ssd1351_init[] = { -1, 0xfd, 0x12, -1, 0xfd, 0xb1, -1, 0xae, -1, 0xb3
|
||||
static void flexfb_set_addr_win_1(struct fbtft_par *par,
|
||||
int xs, int ys, int xe, int ye)
|
||||
{
|
||||
fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par,
|
||||
"%s(xs=%d, ys=%d, xe=%d, ye=%d)\n",
|
||||
__func__, xs, ys, xe, ye);
|
||||
fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n",
|
||||
__func__, xs, ys, xe, ye);
|
||||
switch (par->info->var.rotate) {
|
||||
/* R20h = Horizontal GRAM Start Address */
|
||||
/* R21h = Vertical GRAM Start Address */
|
||||
@ -512,8 +511,8 @@ static int flexfb_remove_common(struct device *dev, struct fb_info *info)
|
||||
return -EINVAL;
|
||||
par = info->par;
|
||||
if (par)
|
||||
fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par,
|
||||
"%s()\n", __func__);
|
||||
fbtft_par_dbg(DEBUG_DRIVER_INIT_FUNCTIONS, par, "%s()\n",
|
||||
__func__);
|
||||
fbtft_unregister_framebuffer(info);
|
||||
fbtft_framebuffer_release(info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user