Convert the argument to the newer fwnode_handle instead a device tree node. Fortunately, there are no users for now. So this is an easy change.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -18,6 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | #include <linux/bug.h> |
| 19 | 19 | #include <linux/lockdep.h> |
| 20 | 20 | #include <linux/iopoll.h> |
| 21 | +#include <linux/fwnode.h> | |
| 21 | 22 | |
| 22 | 23 | struct module; |
| 23 | 24 | struct clk; |
| @@ -1311,21 +1312,23 @@ struct regmap_irq_chip_data; · 1287 unmodified lines | ||
| 1311 | 1312 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, |
| 1312 | 1313 | int irq_base, const struct regmap_irq_chip *chip, |
| 1313 | 1314 | struct regmap_irq_chip_data **data); |
| 1314 | −int regmap_add_irq_chip_np(struct device_node *np, struct regmap *map, int irq, | |
| 1315 | − int irq_flags, int irq_base, | |
| 1316 | − const struct regmap_irq_chip *chip, | |
| 1317 | − struct regmap_irq_chip_data **data); | |
| 1315 | +int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, | |
| 1316 | + struct regmap *map, int irq, | |
| 1317 | + int irq_flags, int irq_base, | |
| 1318 | + const struct regmap_irq_chip *chip, | |
| 1319 | + struct regmap_irq_chip_data **data); | |
| 1318 | 1320 | void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); |
| 1319 | 1321 | |
| 1320 | 1322 | int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, |
| 1321 | 1323 | int irq_flags, int irq_base, |
| 1322 | 1324 | const struct regmap_irq_chip *chip, |
| 1323 | 1325 | struct regmap_irq_chip_data **data); |
| 1324 | −int devm_regmap_add_irq_chip_np(struct device *dev, struct device_node *np, | |
| 1325 | − struct regmap *map, int irq, int irq_flags, | |
| 1326 | − int irq_base, | |
| 1327 | − const struct regmap_irq_chip *chip, | |
| 1328 | − struct regmap_irq_chip_data **data); | |
| 1326 | +int devm_regmap_add_irq_chip_fwnode(struct device *dev, | |
| 1327 | + struct fwnode_handle *fwnode, | |
| 1328 | + struct regmap *map, int irq, | |
| 1329 | + int irq_flags, int irq_base, | |
| 1330 | + const struct regmap_irq_chip *chip, | |
| 1331 | + struct regmap_irq_chip_data **data); | |
| 1329 | 1332 | void devm_regmap_del_irq_chip(struct device *dev, int irq, |
| 1330 | 1333 | struct regmap_irq_chip_data *data); |
| 1331 | 1334 | |