Staging: fbtft: Fix too many leading tabs warning
authorGustavo A. R. Silva <silvagustavosilva@gmail.com>
Tue, 11 Oct 2016 08:40:01 +0000 (01:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:14 +0000 (10:26 +0200)
commit5cf793714e6f5b345b6799ad4d6df5e049335672
tree425a3e7ee533d7655d33b7e39223f6189ebd44c0
parent9f8e0562e36693a60a2fd76c7a64184661eaea23
Staging: fbtft: Fix too many leading tabs warning

This is a patch to the fb_agm1264k-fl.c file that fixes up the following
issue:

WARNING: Too many leading tabs - consider code refactoring

Add new function iterate_diffusion_matrix() to refactor a piece of code
inside write_vmem().

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_agm1264k-fl.c