diff --git a/[refs] b/[refs] index 17a7c6dba228..a03cbcf0f154 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7e9a57e6267591ddfdd3beaf26f21b5257c5fff8 +refs/heads/master: 92ab953bd6477b816e8ddd2cf9eaed063332013a diff --git a/trunk/drivers/regulator/tps65910-regulator.c b/trunk/drivers/regulator/tps65910-regulator.c index 11af48e7186a..8b31f073c6f3 100644 --- a/trunk/drivers/regulator/tps65910-regulator.c +++ b/trunk/drivers/regulator/tps65910-regulator.c @@ -1090,6 +1090,10 @@ static struct tps65910_board *tps65910_parse_dt_reg_data( } regulators = of_find_node_by_name(np, "regulators"); + if (!regulators) { + dev_err(&pdev->dev, "regulator node not found\n"); + return NULL; + } switch (tps65910_chip_id(tps65910)) { case TPS65910: