]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: tps65219: Remove an unused field from 'struct tps65219'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 21 Jun 2025 18:30:51 +0000 (20:30 +0200)
committerLee Jones <lee@kernel.org>
Thu, 24 Jul 2025 10:27:08 +0000 (11:27 +0100)
Since commit 3df4c6367520 ("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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/8a264c3a92b8e62c1dadd374f2685030e042eb08.1750530460.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/tps65219.h

index 3e8d291892676d9837635f357289c0dc31d29ef3..6900029323777507415570d5e04f0f8876d5ae36 100644 (file)
@@ -10,7 +10,6 @@
 #define MFD_TPS65219_H
 
 #include <linux/bitops.h>
-#include <linux/notifier.h>
 #include <linux/regmap.h>
 #include <linux/regulator/driver.h>
 
@@ -440,7 +439,6 @@ enum tps65219_irqs {
  * @regmap: Regmap for accessing the device registers
  * @chip_id: Chip ID
  * @irq_data: Regmap irq data used for the irq chip
- * @nb: notifier block for the restart handler
  */
 struct tps65219 {
        struct device *dev;
@@ -448,7 +446,6 @@ struct tps65219 {
 
        unsigned int chip_id;
        struct regmap_irq_chip_data *irq_data;
-       struct notifier_block nb;
 };
 
 #endif /* MFD_TPS65219_H */