projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b337e7
)
mfd: ab8500-debugfs: Use NULL to initialise remaining NULL pointer
author
Lee Jones
<lee.jones@linaro.org>
Mon, 14 Jan 2013 17:17:34 +0000
(17:17 +0000)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 4 Feb 2013 08:31:38 +0000
(08:31 +0000)
Partly for coding style reasons, but mostly because sparse warns on it.
This patch is a completion of a previous patch by Mark Brown.
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ab8500-debugfs.c
b/drivers/mfd/ab8500-debugfs.c
index 4699fff322a06262dacc85f3fcc33fc9264891c9..1bb74297a3a7a905e243a33c5b3e215ab629ddb8 100644
(file)
--- a/
drivers/mfd/ab8500-debugfs.c
+++ b/
drivers/mfd/ab8500-debugfs.c
@@
-60,7
+60,7
@@
struct ab8500_prcmu_ranges {
static struct ab8500_prcmu_ranges debug_ranges[AB8500_NUM_BANKS] = {
[0x0] = {
.num_ranges = 0,
- .range =
0
,
+ .range =
NULL
,
},
[AB8500_SYS_CTRL1_BLOCK] = {
.num_ranges = 3,