Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: tps65219: Remove an unused field from 'struct tps65219'

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>

authored by

Christophe JAILLET and committed by
Lee Jones
ea39dd26 238b671d

-3
-3
include/linux/mfd/tps65219.h
··· 10 10 #define MFD_TPS65219_H 11 11 12 12 #include <linux/bitops.h> 13 - #include <linux/notifier.h> 14 13 #include <linux/regmap.h> 15 14 #include <linux/regulator/driver.h> 16 15 ··· 439 440 * @regmap: Regmap for accessing the device registers 440 441 * @chip_id: Chip ID 441 442 * @irq_data: Regmap irq data used for the irq chip 442 - * @nb: notifier block for the restart handler 443 443 */ 444 444 struct tps65219 { 445 445 struct device *dev; ··· 446 448 447 449 unsigned int chip_id; 448 450 struct regmap_irq_chip_data *irq_data; 449 - struct notifier_block nb; 450 451 }; 451 452 452 453 #endif /* MFD_TPS65219_H */