]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ipu6: Remove redundant driver data checks
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 18 Dec 2025 22:52:43 +0000 (00:52 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:47:56 +0000 (12:47 +0100)
commit312c74e6d360eaa871b66b417868c63728e5170b
tree7bde3ed653a45dbeb18488a4ce674bef9acb17d7
parent5b18b3816f7f0573c8f764f88d403250dd528ca5
media: ipu6: Remove redundant driver data checks

Both runtime PM resume and suspend callbacks check whether the driver's
data is set for the device. This is done in probe(); drop the redundant
checks.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Tested-by: Mehdi Djait <mehdi.djait@linux.intel.com> # Dell XPS 9315
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/pci/intel/ipu6/ipu6-isys.c