Skip to content
Commit 73613b16 authored by Chanwoo Choi's avatar Chanwoo Choi Committed by Rafael J. Wysocki
Browse files

PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL



This patch fixes the bug of devfreq_add_device(). The devfreq device must
have the default governor. If find_devfreq_governor() returns error,
devfreq_add_device() fail to add the devfreq instance.

Fixes: 1b5c1be2 (PM / devfreq: map devfreq drivers to governor using name)
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9932ef3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment