summaryrefslogtreecommitdiff
path: root/include/linux/rtc
diff options
context:
space:
mode:
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>2017-03-01 02:52:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 11:39:54 +0300
commitfa2ccd35d7deb4b00b5474e215691028a39c1b56 (patch)
tree9fe96d7864bdbe7c63c33e9bf726c5b383fddaee /include/linux/rtc
parent2430125c1ff167cb19029b0790501a2a1a24a326 (diff)
downloadlinux-fa2ccd35d7deb4b00b5474e215691028a39c1b56.tar.xz
staging: bcm2835-camera: Refactored get_format function
Now, when the condition inside the for is fulfilled, I return the result, instead of checking afterwards whether the counter has reached or not the end of the list. Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/rtc')
0 files changed, 0 insertions, 0 deletions