cdev: pass flags to open function

Change-Id: I7beaae6f6bb095e486de30bf892a4e6af4685d7e
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
5 files changed