Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308735
b: refs/heads/master
c: 9577e8c
h: refs/heads/master
i:
  308733: 4f1ee78
  308731: 82d2d45
  308727: b9aa910
  308719: a57507b
  308703: ecfe3c2
  308671: 587b31a
  308607: 1b9db5b
  308479: 32fd14a
  308223: 0939018
v: v3
  • Loading branch information
NeilBrown authored and Samuel Ortiz committed May 20, 2012
1 parent 7b977fc commit 3a272cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd4209ced4d3936cfe51b7b8833260457e2d9995
refs/heads/master: 9577e8c3fbc145b5d2a12d2fbc6a50031573c77d
7 changes: 0 additions & 7 deletions trunk/drivers/mfd/twl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,6 @@
#define HIGH_PERF_SQ (1 << 3)
#define CK32K_LOWPWR_EN (1 << 7)


/* chip-specific feature flags, for i2c_device_id.driver_data */
#define TWL4030_VAUX2 BIT(0) /* pre-5030 voltage ranges */
#define TPS_SUBSET BIT(1) /* tps659[23]0 have fewer LDOs */
#define TWL5031 BIT(2) /* twl5031 has different registers */
#define TWL6030_CLASS BIT(3) /* TWL6030 class */

/*----------------------------------------------------------------------*/

/* is driver active, bound to a chip? */
Expand Down
8 changes: 6 additions & 2 deletions trunk/include/linux/i2c/twl.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ static inline int twl_class_is_ ##class(void) \
TWL_CLASS_IS(4030, TWL4030_CLASS_ID)
TWL_CLASS_IS(6030, TWL6030_CLASS_ID)

#define TWL6025_SUBCLASS BIT(4) /* TWL6025 has changed registers */

/*
* Read and write single 8-bit registers
*/
Expand Down Expand Up @@ -746,6 +744,12 @@ struct twl_regulator_driver_data {
void *data;
unsigned long features;
};
/* chip-specific feature flags, for twl_regulator_driver_data.features */
#define TWL4030_VAUX2 BIT(0) /* pre-5030 voltage ranges */
#define TPS_SUBSET BIT(1) /* tps659[23]0 have fewer LDOs */
#define TWL5031 BIT(2) /* twl5031 has different registers */
#define TWL6030_CLASS BIT(3) /* TWL6030 class */
#define TWL6025_SUBCLASS BIT(4) /* TWL6025 has changed registers */

/*----------------------------------------------------------------------*/

Expand Down

0 comments on commit 3a272cb

Please sign in to comment.