This patch just uses the resource-managed function when adding the new devfreq
deivce. This function handles the memory and delete of devfreq instance
automatically.

Changes from v1:
- Rebased these patches on linux-next (20161108)

Chanwoo Choi (2):
  PM / devfreq: rk3399_dmc: Use the resource-managed function to add devfreq dev
  scsi: ufs: Use the resource-managed function to add devfreq device

 drivers/devfreq/rk3399_dmc.c | 2 +-
 drivers/scsi/ufs/ufshcd.c    | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

-- 
1.9.1

Reply via email to