OSDN Git Service

staging: atomisp: use local variable to reduce number of references
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 12 Apr 2017 18:20:01 +0000 (19:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Apr 2017 08:06:18 +0000 (10:06 +0200)
commit7469cd3c7f1520e1901f147f8152aa31d3c335cd
treeb76278ea8aa9b11262c367a3c43dc8a17f96056c
parentd317d054b14df4cbce5324454925dc6c9858a8c4
staging: atomisp: use local variable to reduce number of references

Define new local variable to reduce the number of reference.
The new local variable is added to save the addess of dfs
and used in atomisp_freq_scaling() function.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c