]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d971846d2bba8ca1b1944a48368b7d5a091561c
treeb76278ea8aa9b11262c367a3c43dc8a17f96056c
parent6922d791a1d107008836138d84e63cda35f432f7
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