]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/devfreq/rk3399_dmc.c
PM / devfreq: rk3399_dmc: Use the resource-managed function to add devfreq dev
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 8 Nov 2016 09:13:27 +0000 (18:13 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 17 Nov 2016 02:31:29 +0000 (11:31 +0900)
commit927b75a628b1d80fef171420fbd694fc28d9b8e9
treeedb56e11448f88fe45b5803dee3a1fc64fa59039
parentbafeb42bd80fb269d5cc396d28165818aae5994c
PM / devfreq: rk3399_dmc: Use the resource-managed function to add devfreq dev

This patch uses the resource-managed to add the devfreq device.
This function will make it easy to handle the devfreq device.

- struct devfreq *devm_devfreq_add_device(struct device *dev,
  struct devfreq_dev_profile *profile,
  const char *governor_name,
  void *data);

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/rk3399_dmc.c