History

mfd: rk808: Reduce shutdown duplication

Rather than having 3 almost-identical functions plus the machinery to keep track of them, it's far simpler to just dynamically select the appropriate register field per variant.

Robin Murphy committed 6 years ago

Commit 7a52cbc1 parent 90df3a82 files · +20 −42Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/rk808.h+0−1
@@ -620,7 +620,6 @@ struct rk808 { · 619 unmodified lines
620620 long variant;
621621 const struct regmap_config *regmap_cfg;
622622 const struct regmap_irq_chip *regmap_irq_chip;
623− void (*pm_pwroff_fn)(void);
624623 void (*pm_pwroff_prep_fn)(void);
625624 };
626625 #endif /* __LINUX_REGULATOR_RK808_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t