staging: sm750fb: Merge ddk750_help.* into ddk750_chip.*.
authorElise Lennion <elise.lennion@gmail.com>
Tue, 11 Oct 2016 22:43:07 +0000 (19:43 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:18 +0000 (10:26 +0200)
commitefe9bc08bf479b1baacc63554042c5dd11fecd9e
tree603b031fba23394c44efbc65f700e8fbc6a852eb
parent1ffe8bdc09f8bfcaad76d71ae68b623c7e03f20f
staging: sm750fb: Merge ddk750_help.* into ddk750_chip.*.

The file ddk750_help.c contained only one function declaration,
so it was merged into ddk750_chip.c to simplify the driver.

Also, ddk750_help.h was merged into ddk750_chip.h to keep consistency.

With these changes a few global variables are removed and the function
ddk750_set_mmio is rewritten, so its purpose in the code is clearer.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 files changed:
drivers/staging/sm750fb/Makefile
drivers/staging/sm750fb/ddk750.h
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_chip.h
drivers/staging/sm750fb/ddk750_display.c
drivers/staging/sm750fb/ddk750_dvi.c
drivers/staging/sm750fb/ddk750_help.c [deleted file]
drivers/staging/sm750fb/ddk750_help.h [deleted file]
drivers/staging/sm750fb/ddk750_hwi2c.c
drivers/staging/sm750fb/ddk750_mode.c
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_swi2c.c
drivers/staging/sm750fb/sm750_hw.c