commit | e150ab36321e4692cd7a55adc75a027ffcd71a8a | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Thu Aug 18 14:04:34 2016 -0700 |
committer | John Stultz <john.stultz@linaro.org> | Mon Aug 22 23:24:01 2016 -0700 |
tree | 6286ed0aa6c10370890eb856908a6b56d80d1eee | |
parent | c579371efd42b552781e72ee721fbd540409d231 [diff] |
power_hikey: Use container_of macro instead of just casting Add container_of macro instead of just blind casting, assuming the structure is formatted a specific way. Change-Id: I31368d41e82627ce3e42f3be509a4495fc4d2e12 Signed-off-by: John Stultz <john.stultz@linaro.org>