uint32_t max_oobsize = mtd_oobavail(mtd, ops);
 
        uint8_t *bufpoi, *oob, *buf;
-       int use_bufpoi;
+       int use_bounce_buf;
        unsigned int max_bitflips = 0;
        int retry_mode = 0;
        bool ecc_fail = false;
                aligned = (bytes == mtd->writesize);
 
                if (!aligned)
-                       use_bufpoi = 1;
+                       use_bounce_buf = 1;
                else if (chip->options & NAND_USES_DMA)
-                       use_bufpoi = !virt_addr_valid(buf) ||
-                                    !IS_ALIGNED((unsigned long)buf,
-                                                chip->buf_align);
+                       use_bounce_buf = !virt_addr_valid(buf) ||
+                                        !IS_ALIGNED((unsigned long)buf,
+                                                    chip->buf_align);
                else
-                       use_bufpoi = 0;
+                       use_bounce_buf = 0;
 
                /* Is the current page in the buffer? */
                if (realpage != chip->pagecache.page || oob) {
-                       bufpoi = use_bufpoi ? chip->data_buf : buf;
+                       bufpoi = use_bounce_buf ? chip->data_buf : buf;
 
-                       if (use_bufpoi && aligned)
+                       if (use_bounce_buf && aligned)
                                pr_debug("%s: using read bounce buffer for buf@%p\n",
                                                 __func__, buf);
 
                                ret = chip->ecc.read_page(chip, bufpoi,
                                                          oob_required, page);
                        if (ret < 0) {
-                               if (use_bufpoi)
+                               if (use_bounce_buf)
                                        /* Invalidate page cache */
                                        chip->pagecache.page = -1;
                                break;
                         * Copy back the data in the initial buffer when reading
                         * partial pages or when a bounce buffer is required.
                         */
-                       if (use_bufpoi) {
+                       if (use_bounce_buf) {
                                if (!NAND_HAS_SUBPAGE_READ(chip) && !oob &&
                                    !(mtd->ecc_stats.failed - ecc_failures) &&
                                    (ops->mode != MTD_OPS_RAW)) {
        while (1) {
                int bytes = mtd->writesize;
                uint8_t *wbuf = buf;
-               int use_bufpoi;
+               int use_bounce_buf;
                int part_pagewr = (column || writelen < mtd->writesize);
 
                if (part_pagewr)
-                       use_bufpoi = 1;
+                       use_bounce_buf = 1;
                else if (chip->options & NAND_USES_DMA)
-                       use_bufpoi = !virt_addr_valid(buf) ||
-                                    !IS_ALIGNED((unsigned long)buf,
-                                                chip->buf_align);
+                       use_bounce_buf = !virt_addr_valid(buf) ||
+                                        !IS_ALIGNED((unsigned long)buf,
+                                                    chip->buf_align);
                else
-                       use_bufpoi = 0;
+                       use_bounce_buf = 0;
 
                /*
                 * Copy the data from the initial buffer when doing partial page
                 * writes or when a bounce buffer is required.
                 */
-               if (use_bufpoi) {
+               if (use_bounce_buf) {
                        pr_debug("%s: using write bounce buffer for buf@%p\n",
                                         __func__, buf);
                        if (part_pagewr)