mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
regulator: max8660: Fix brace alignment
Move the "};" to next line as is the general coding practice. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
f920ec7981
commit
dda5e36b1c
@ -86,7 +86,8 @@ struct max8660 {
|
||||
static int max8660_write(struct max8660 *max8660, u8 reg, u8 mask, u8 val)
|
||||
{
|
||||
static const u8 max8660_addresses[MAX8660_N_REGS] = {
|
||||
0x10, 0x12, 0x20, 0x23, 0x24, 0x29, 0x2a, 0x32, 0x33, 0x39, 0x80 };
|
||||
0x10, 0x12, 0x20, 0x23, 0x24, 0x29, 0x2a, 0x32, 0x33, 0x39, 0x80
|
||||
};
|
||||
|
||||
int ret;
|
||||
u8 reg_val = (max8660->shadow_regs[reg] & mask) | val;
|
||||
|
Loading…
Reference in New Issue
Block a user