Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: fbtft: Fix typo in fbtft

This patch fix spelling typo in comment and printk within fbtft

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
92def781 4178549e

+17 -17
+3 -3
drivers/staging/fbtft/fb_agm1264k-fl.c
··· 174 174 175 175 /* This function oses to enter commands 176 176 * first byte - destination controller 0 or 1 177 - * folowing - commands 177 + * following - commands 178 178 */ 179 179 static void write_reg8_bus8(struct fbtft_par *par, int len, ...) 180 180 { ··· 199 199 if (*buf > 1) { 200 200 va_end(args); 201 201 dev_err(par->info->device, 202 - "Incorrect chip sellect request (%d)\n", *buf); 202 + "Incorrect chip select request (%d)\n", *buf); 203 203 return; 204 204 } 205 205 ··· 278 278 int x, y; 279 279 int ret = 0; 280 280 281 - /* buffer to convert RGB565 -> grayscale16 -> Ditherd image 1bpp */ 281 + /* buffer to convert RGB565 -> grayscale16 -> Dithered image 1bpp */ 282 282 signed short *convert_buf = kmalloc(par->info->var.xres * 283 283 par->info->var.yres * sizeof(signed short), GFP_NOIO); 284 284
+1 -1
drivers/staging/fbtft/fb_hx8340bn.c
··· 4 4 * This display uses 9-bit SPI: Data/Command bit + 8 data bits 5 5 * For platforms that doesn't support 9-bit, the driver is capable 6 6 * of emulating this using 8-bit transfer. 7 - * This is done by transfering eight 9-bit words in 9 bytes. 7 + * This is done by transferring eight 9-bit words in 9 bytes. 8 8 * 9 9 * Copyright (C) 2013 Noralf Tronnes 10 10 *
+1 -1
drivers/staging/fbtft/fb_hx8353d.c
··· 84 84 /* column address */ 85 85 write_reg(par, 0x2a, xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); 86 86 87 - /* row adress */ 87 + /* Row address */ 88 88 write_reg(par, 0x2b, ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); 89 89 90 90 /* memory write */
+1 -1
drivers/staging/fbtft/fb_ili9340.c
··· 104 104 /* Column address */ 105 105 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); 106 106 107 - /* Row adress */ 107 + /* Row address */ 108 108 write_reg(par, 0x2B, ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); 109 109 110 110 /* Memory write */
+2 -2
drivers/staging/fbtft/fb_ili9341.c
··· 4 4 * This display uses 9-bit SPI: Data/Command bit + 8 data bits 5 5 * For platforms that doesn't support 9-bit, the driver is capable 6 6 * of emulating this using 8-bit transfer. 7 - * This is done by transfering eight 9-bit words in 9 bytes. 7 + * This is done by transferring eight 9-bit words in 9 bytes. 8 8 * 9 9 * Copyright (C) 2013 Christian Vogelgsang 10 10 * Based on adafruit22fb.c by Noralf Tronnes ··· 89 89 write_reg(par, 0x2A, 90 90 (xs >> 8) & 0xFF, xs & 0xFF, (xe >> 8) & 0xFF, xe & 0xFF); 91 91 92 - /* Row adress set */ 92 + /* Row address set */ 93 93 write_reg(par, 0x2B, 94 94 (ys >> 8) & 0xFF, ys & 0xFF, (ye >> 8) & 0xFF, ye & 0xFF); 95 95
+1 -1
drivers/staging/fbtft/fb_ili9481.c
··· 63 63 /* column address */ 64 64 write_reg(par, 0x2a, xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); 65 65 66 - /* row adress */ 66 + /* Row address */ 67 67 write_reg(par, 0x2b, ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); 68 68 69 69 /* memory write */
+1 -1
drivers/staging/fbtft/fb_ili9486.c
··· 67 67 /* Column address */ 68 68 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); 69 69 70 - /* Row adress */ 70 + /* Row address */ 71 71 write_reg(par, 0x2B, ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); 72 72 73 73 /* Memory write */
+1 -1
drivers/staging/fbtft/fb_ra8875.c
··· 11 11 ***** * * 12 12 Date : 10.06.2014 * * 13 13 Version : V1.13 ***** 14 - Revison : 5 14 + Revision : 5 15 15 16 16 ******************************************************************************* 17 17 * This program is free software; you can redistribute it and/or modify
+1 -1
drivers/staging/fbtft/fb_s6d02a1.c
··· 108 108 /* Column address */ 109 109 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); 110 110 111 - /* Row adress */ 111 + /* Row address */ 112 112 write_reg(par, 0x2B, ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); 113 113 114 114 /* Memory write */
+1 -1
drivers/staging/fbtft/fb_st7735r.c
··· 102 102 /* Column address */ 103 103 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); 104 104 105 - /* Row adress */ 105 + /* Row address */ 106 106 write_reg(par, 0x2B, ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); 107 107 108 108 /* Memory write */
+1 -1
drivers/staging/fbtft/fb_tinylcd.c
··· 70 70 /* Column address */ 71 71 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); 72 72 73 - /* Row adress */ 73 + /* Row address */ 74 74 write_reg(par, 0x2B, ys >> 8, ys & 0xFF, ye >> 8, ye & 0xFF); 75 75 76 76 /* Memory write */
+1 -1
drivers/staging/fbtft/fbtft-core.c
··· 338 338 write_reg(par, 0x2A, 339 339 (xs >> 8) & 0xFF, xs & 0xFF, (xe >> 8) & 0xFF, xe & 0xFF); 340 340 341 - /* Row adress set */ 341 + /* Row address set */ 342 342 write_reg(par, 0x2B, 343 343 (ys >> 8) & 0xFF, ys & 0xFF, (ye >> 8) & 0xFF, ye & 0xFF); 344 344
+2 -2
drivers/staging/fbtft/fbtft.h
··· 147 147 /** 148 148 * struct fbtft_platform_data - Passes display specific data to the driver 149 149 * @display: Display properties 150 - * @gpios: Pointer to an array of piname to gpio mappings 150 + * @gpios: Pointer to an array of pinname to gpio mappings 151 151 * @rotate: Display rotation angle 152 152 * @bgr: LCD Controller BGR bit 153 153 * @fps: Frames per second (this will go away, use @fps in @fbtft_display) ··· 200 200 * @gpio.cs: LCD Chip Select with parallel interface bus 201 201 * @gpio.db[16]: Parallel databus 202 202 * @gpio.led[16]: Led control signals 203 - * @gpio.aux[16]: Auxillary signals, not used by core 203 + * @gpio.aux[16]: Auxiliary signals, not used by core 204 204 * @init_sequence: Pointer to LCD initialization array 205 205 * @gamma.lock: Mutex for Gamma curve locking 206 206 * @gamma.curves: Pointer to Gamma curve array