History

Merge branch 'regulator-5.2' into regulator-next

Mark Brown committed 7 years ago

Commit e2a23af2 parents c7b5128 498209489 files · +1323 −2770Browse files

Showing the changes to include/linux (4 of 89 files). Show all

Unified · Split

4 files
  1. include/linux/mfd/palmas.h +0 −1
  2. include/linux/mfd/wm831x/regulator.h +1 −1
  3. include/linux/mfd/wm8400-private.h +0 −8
  4. include/linux/regulator/consumer.h +5 −0
include/linux/mfd/palmas.h+0−1
@@ -553,7 +553,6 @@ struct palmas_pmic { · 552 unmodified lines
553 struct palmas *palmas;553 struct palmas *palmas;
554 struct device *dev;554 struct device *dev;
555 struct regulator_desc desc[PALMAS_NUM_REGS];555 struct regulator_desc desc[PALMAS_NUM_REGS];
556 struct regulator_dev *rdev[PALMAS_NUM_REGS];
557 struct mutex mutex;556 struct mutex mutex;
558 557
559 int smps123;558 int smps123;
include/linux/mfd/wm831x/regulator.h+1−1
@@ -1213,6 +1213,6 @@ · 1212 unmodified lines
1213#define WM831X_LDO1_OK_WIDTH 1 /* LDO1_OK */1213#define WM831X_LDO1_OK_WIDTH 1 /* LDO1_OK */
1214 1214
1215#define WM831X_ISINK_MAX_ISEL 551215#define WM831X_ISINK_MAX_ISEL 55
1216extern int wm831x_isinkv_values[WM831X_ISINK_MAX_ISEL + 1];1216extern const unsigned int wm831x_isinkv_values[WM831X_ISINK_MAX_ISEL + 1];
1217 1217
1218#endif1218#endif
include/linux/mfd/wm8400-private.h+0−8
@@ -923,12 +923,4 @@ struct wm8400 { · 922 unmodified lines
923#define WM8400_LINE_CMP_VTHD_SHIFT 0 /* LINE_CMP_VTHD - [3:0] */923#define WM8400_LINE_CMP_VTHD_SHIFT 0 /* LINE_CMP_VTHD - [3:0] */
924#define WM8400_LINE_CMP_VTHD_WIDTH 4 /* LINE_CMP_VTHD - [3:0] */924#define WM8400_LINE_CMP_VTHD_WIDTH 4 /* LINE_CMP_VTHD - [3:0] */
925 925
926int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data);
927
928static inline int wm8400_set_bits(struct wm8400 *wm8400, u8 reg,
929 u16 mask, u16 val)
930{
931 return regmap_update_bits(wm8400->regmap, reg, mask, val);
932}
933
934#endif926#endif
include/linux/regulator/consumer.h+5−0
@@ -478,6 +478,11 @@ static inline int regulator_is_supported_voltage(struct regulator *regulator, · 477 unmodified lines
478 return 0;478 return 0;
479}479}
480 480
481static inline unsigned int regulator_get_linear_step(struct regulator *regulator)
482{
483 return 0;
484}
485
481static inline int regulator_set_current_limit(struct regulator *regulator,486static inline int regulator_set_current_limit(struct regulator *regulator,
482 int min_uA, int max_uA)487 int min_uA, int max_uA)
483{488{

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