]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: fbtft-core: remove unnecessary line continuations
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Mon, 2 Mar 2015 15:49:59 +0000 (17:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:25 +0000 (09:54 -0800)
This fixes the checkpatch.pl warning:
WARNING: Avoid unnecessary line continuations

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c

index e8d8d07d5f236c54ff0197408640314737d7dd45..9ce929d0e5c2bc56364dd4c324600f2099bd57b5 100644 (file)
@@ -379,7 +379,7 @@ static void fbtft_update_display(struct fbtft_par *par, unsigned start_line,
        int ret = 0;
 
        if (unlikely(par->debug & (DEBUG_TIME_FIRST_UPDATE | DEBUG_TIME_EACH_UPDATE))) {
-               if ((par->debug & DEBUG_TIME_EACH_UPDATE) || \
+               if ((par->debug & DEBUG_TIME_EACH_UPDATE) ||
                                ((par->debug & DEBUG_TIME_FIRST_UPDATE) && !par->first_update_done)) {
                        getnstimeofday(&ts_start);
                        timeit = true;
@@ -1276,7 +1276,7 @@ static int fbtft_verify_gpios(struct fbtft_par *par)
        fbtft_par_dbg(DEBUG_VERIFY_GPIOS, par, "%s()\n", __func__);
 
        pdata = par->info->device->platform_data;
-       if (pdata->display.buswidth != 9 && par->startbyte == 0 && \
+       if (pdata->display.buswidth != 9 && par->startbyte == 0 &&
                                                        par->gpio.dc < 0) {
                dev_err(par->info->device,
                        "Missing info about 'dc' gpio. Aborting.\n");