diff options
author | Elise Lennion <elise.lennion@gmail.com> | 2016-10-11 19:43:07 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:26:18 +0200 |
commit | efe9bc08bf479b1baacc63554042c5dd11fecd9e (patch) | |
tree | 603b031fba23394c44efbc65f700e8fbc6a852eb /drivers/staging/sm750fb/ddk750_power.c | |
parent | staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig (diff) | |
download | linux-dev-efe9bc08bf479b1baacc63554042c5dd11fecd9e.tar.xz linux-dev-efe9bc08bf479b1baacc63554042c5dd11fecd9e.zip |
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>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_power.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c index 7cc6169f884e..710106e35bcf 100644 --- a/drivers/staging/sm750fb/ddk750_power.c +++ b/drivers/staging/sm750fb/ddk750_power.c @@ -1,4 +1,4 @@ -#include "ddk750_help.h" +#include "ddk750_chip.h" #include "ddk750_reg.h" #include "ddk750_power.h" |