media: i2c: ov7251: Make the enable GPIO optional.
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 14 Dec 2021 17:18:49 +0000 (17:18 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:15 +0000 (11:33 +0000)
commitd12ab76ae2588d8ad90e16928d9d0a5977204e6c
treed945bc006d2e7c7ab1af06ef59975fcc7e597f73
parentd9d3422290460f5a22abdfd48485e00c4e6880f4
media: i2c: ov7251: Make the enable GPIO optional.

Not all implementations wire up the enable GPIO and may just tie
it to a supply rail.
Make it optional.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/ov7251.c