Skip to content

Commit ea39dd2

Browse files
tititiou36lag-linaro
authored andcommitted
mfd: tps65219: Remove an unused field from 'struct tps65219'
Since commit 3df4c63 ("mfd: tps65219: Add support for soft shutdown via sys-off API"), the 'nb' field from 'struct tps65219' is unused. Remove it. Also remove the now useless #include <linux/notifier.h> for the same reason. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/8a264c3a92b8e62c1dadd374f2685030e042eb08.1750530460.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones <[email protected]>
1 parent 238b671 commit ea39dd2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/linux/mfd/tps65219.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#define MFD_TPS65219_H
1111

1212
#include <linux/bitops.h>
13-
#include <linux/notifier.h>
1413
#include <linux/regmap.h>
1514
#include <linux/regulator/driver.h>
1615

@@ -440,15 +439,13 @@ enum tps65219_irqs {
440439
* @regmap: Regmap for accessing the device registers
441440
* @chip_id: Chip ID
442441
* @irq_data: Regmap irq data used for the irq chip
443-
* @nb: notifier block for the restart handler
444442
*/
445443
struct tps65219 {
446444
struct device *dev;
447445
struct regmap *regmap;
448446

449447
unsigned int chip_id;
450448
struct regmap_irq_chip_data *irq_data;
451-
struct notifier_block nb;
452449
};
453450

454451
#endif /* MFD_TPS65219_H */

0 commit comments

Comments
 (0)