staging: bcm2835-camera: Replace ternary operator with min_t macro
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Tue, 7 Mar 2017 15:22:03 +0000 (17:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Mar 2017 19:11:38 +0000 (20:11 +0100)
commit85fa002f2e9102ba3305c419badc9871ca3b1ae0
tree6b0f0051fba8999e4275fd0f198322637cf9dae7
parentfb1e87656e0f9c24cd6a9dbc664cdd493a70a57c
staging: bcm2835-camera: Replace ternary operator with min_t macro

Use macro min_t to get the minimum of two values for readability.

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c