Enforce log level if driver cannot be opened

This patch partially reverts temporary changes that were introduced,
by the b7e2233a33d84c43c2c13b6f2876754cdbd21a3f commit.

According to the current logic, driver file may be not opened during
`ProcessStage` object construction. But later the file descriptor is
used without any additional checks. In other words, the file descriptor
invariants are not followed.

Instead of adding additional "check-and-open" logic it is proposed to
ensure in the constructor that initialization has been successfully
completed.

Bug: 145399240
Test: make with SKIP_ABI_CHECKS=true and boot
Change-Id: I7862640aa44919cc5aceec602e83d337393c0008
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
1 file changed