summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/spca500.c
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2016-03-09 13:03:15 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 14:56:53 -0300
commit8a074e860a4cdcefda92b6045d366a6fde960784 (patch)
tree46befcb0b57c46bab933fec547871c77b24fea47 /drivers/media/usb/gspca/spca500.c
parent1f6bcd011464cb36059e2562f72baf75f98b732d (diff)
[media] gspca: ov534/topro: use a define for the default framerate
When writing the change in commit dcc7fdbec53a ("[media] gspca: ov534/topro: prevent a division by 0") I used magic numbers for the default framerate to minimize the code footprint to make it easier to backport the patch to the stable trees. However it's better if the default framerate has its own define to avoid risking using different values in different places, and for readability. While at it also remove some trivial comments about the framerates which don't add much to the code anymore. Signed-off-by: Antonio Ospite <ao2@ao2.it> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/gspca/spca500.c')
0 files changed, 0 insertions, 0 deletions