staging: sm750fb: Rename maxH to max_h in lynx_cursor
authorBenjamin Philip <benjamin.philip495@gmail.com>
Mon, 26 Jul 2021 13:15:01 +0000 (18:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 13:25:17 +0000 (15:25 +0200)
commitcfdafb7608b4cf159aec510114be7a364347ca0f
tree4520073d68d818bca21ef5f5256a0a3cf0173a0d
parent7b9148dcb74a004a4df10df3af9239a46dfc2b2f
staging: sm750fb: Rename maxH to max_h in lynx_cursor

The struct lynx_cursor has a member named maxH. This name is
CamelCase and is frowned upon. This commit renames it to max_h
and makes the necessary changes for the module to build.

This change also fixes the following checkpatch CHECK:

CHECK: Avoid CamelCase: <maxH>
116: FILE: drivers/staging/sm750fb/sm750.c:116:
+           fbcursor->image.height > cursor->maxH ||

Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
Link: https://lore.kernel.org/r/692211000786d76aa41bc24d4ee06b5868d82771.1627304144.git.benjamin.philip495@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750.h