summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max6621.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2018-06-11 11:44:21 +0300
committerGreg Ungerer <gerg@linux-m68k.org>2018-07-30 02:15:01 +0300
commiteec85fa9d98a889e372a5123384a264e2bce0d87 (patch)
tree832745198d1797a62ddf2c578fa0eca7dbd4a028 /drivers/hwmon/max6621.c
parentacb1872577b346bd15ab3a3f8dff780d6cca4b70 (diff)
downloadlinux-eec85fa9d98a889e372a5123384a264e2bce0d87.tar.xz
m68k: coldfire: Normalize clk API
Coldfire still provides its own variant of the clk API rather than using the generic COMMON_CLK API. This generally works, but it causes some link errors with drivers using the clk_round_rate(), clk_set_rate(), clk_set_parent(), or clk_get_parent() functions when a platform lacks those interfaces. This adds empty stub implementations for each of them, and I don't even try to do something useful here but instead just print a WARN() message to make it obvious what is going on if they ever end up being called. The drivers that call these won't be used on these platforms (otherwise we'd get a link error today), so the added code is harmless bloat and will warn about accidental use. Based on commit bd7fefe1f06ca6cc ("ARM: w90x900: normalize clk API"). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'drivers/hwmon/max6621.c')
0 files changed, 0 insertions, 0 deletions