mfd: davinci_voicecodec: Convert to use devm_* APIs
devm_* APIs are device managed and make code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
e578438820
commit
c8eaed458e
2 changed files with 10 additions and 40 deletions
|
|
@ -112,8 +112,6 @@ struct davinci_vc {
|
|||
|
||||
/* Memory resources */
|
||||
void __iomem *base;
|
||||
resource_size_t pbase;
|
||||
size_t base_size;
|
||||
|
||||
/* MFD cells */
|
||||
struct mfd_cell cells[DAVINCI_VC_CELLS];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue