Make use of the just introduced reset_source_set_device() to save some boilerplate. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- drivers/mfd/da9063.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mfd/da9063.c b/drivers/mfd/da9063.c index a7fff2c5bfa3..e2aa9211e6b9 100644 --- a/drivers/mfd/da9063.c +++ b/drivers/mfd/da9063.c @@ -180,9 +180,7 @@ static void da9063_detect_reset_source(struct da9063 *priv) else return; - priority = of_get_reset_source_priority(priv->dev->device_node); - - reset_source_set_priority(type, priority); + reset_source_set_device(priv->dev, type); } static void da9063_restart(struct restart_handler *rst) -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox