i2c: i801: Call i801_check_pre() from i801_access()
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 16 Feb 2023 16:14:51 +0000 (17:14 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 17 Feb 2023 21:11:53 +0000 (22:11 +0100)
commit1f760b87e54cf56a25ab68f8dc625e339f6e46d5
treea3f4305a2eee3851d790a8811c8f87f0b87bcccd
parenta3989dc0b059a513ad9e12bab8470edc1cec027f
i2c: i801: Call i801_check_pre() from i801_access()

This avoids code duplication, in a next step we'll call
i801_check_post() from i801_transaction() as well.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c