iio: pressure: bmp280: return on runtime PM resume failure

Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() and
propagate error.

Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Yash Suthar 2026-06-16 17:16:21 +05:30 • committed by Jonathan Cameron
commit 7758cd4922