Subject: linux-next: build warning after merge of the opp tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 16 Mar 2021 11:15:11 +1100

Hi all,

After merging the opp tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from include/linux/devfreq.h:15,
                 from drivers/base/power/main.c:36:
include/linux/pm_opp.h:341:1: warning: 'devm_pm_opp_register_set_opp_helper' defined but not used [-Wunused-function]
  341 | devm_pm_opp_register_set_opp_helper(struct device *dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  357b804aa0b9 ("opp: Change return type of devm_pm_opp_register_set_opp_helper()")

The "inline" was removed :-(

-- 
Cheers,
Stephen Rothwell