Commit fc9ad777 authored by Christophe Ricard's avatar Christophe Ricard Committed by Peter Huewe

tpm/tpm_i2c_stm_st33: Sanity cleanup

Cleanup header description and correct some indent.
Reviewed-by: default avatarJason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent ac77d33e
...@@ -814,8 +814,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id) ...@@ -814,8 +814,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
/* /*
* tpm_stm_i2c_remove remove the TPM device * tpm_stm_i2c_remove remove the TPM device
* @param: client, the i2c_client drescription (TPM I2C description). * @param: client, the i2c_client description (TPM I2C description).
* clear_bit(0, &chip->is_open);
* @return: 0 in case of success. * @return: 0 in case of success.
*/ */
static int tpm_stm_i2c_remove(struct i2c_client *client) static int tpm_stm_i2c_remove(struct i2c_client *client)
...@@ -891,6 +890,7 @@ MODULE_DEVICE_TABLE(of, of_st33zp24_i2c_match); ...@@ -891,6 +890,7 @@ MODULE_DEVICE_TABLE(of, of_st33zp24_i2c_match);
static SIMPLE_DEV_PM_OPS(tpm_stm_i2c_ops, tpm_stm_i2c_pm_suspend, static SIMPLE_DEV_PM_OPS(tpm_stm_i2c_ops, tpm_stm_i2c_pm_suspend,
tpm_stm_i2c_pm_resume); tpm_stm_i2c_pm_resume);
static struct i2c_driver tpm_stm_i2c_driver = { static struct i2c_driver tpm_stm_i2c_driver = {
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment