diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-01-13 17:13:10 -0500 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-17 09:04:02 -0500 |
commit | fc9ad777c3ebbeaf423f75e0d8b04db42b3c9ebf (patch) | |
tree | e0dd32967b24750f5b9451ed19805b1bc8bbf04f | |
parent | ac77d33e91efcccb7b5b555a41481a6d775b6f69 (diff) |
tpm/tpm_i2c_stm_st33: Sanity cleanup
Cleanup header description and correct some indent.
Reviewed-by: Jason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
-rw-r--r-- | drivers/char/tpm/tpm_i2c_stm_st33.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c index f05b0a43d87b..d6e87d73f949 100644 --- a/drivers/char/tpm/tpm_i2c_stm_st33.c +++ b/drivers/char/tpm/tpm_i2c_stm_st33.c | |||
@@ -814,8 +814,7 @@ _tpm_clean_answer: | |||
814 | 814 | ||
815 | /* | 815 | /* |
816 | * tpm_stm_i2c_remove remove the TPM device | 816 | * tpm_stm_i2c_remove remove the TPM device |
817 | * @param: client, the i2c_client drescription (TPM I2C description). | 817 | * @param: client, the i2c_client description (TPM I2C description). |
818 | * clear_bit(0, &chip->is_open); | ||
819 | * @return: 0 in case of success. | 818 | * @return: 0 in case of success. |
820 | */ | 819 | */ |
821 | static int tpm_stm_i2c_remove(struct i2c_client *client) | 820 | static int tpm_stm_i2c_remove(struct i2c_client *client) |
@@ -890,7 +889,8 @@ MODULE_DEVICE_TABLE(of, of_st33zp24_i2c_match); | |||
890 | #endif | 889 | #endif |
891 | 890 | ||
892 | static SIMPLE_DEV_PM_OPS(tpm_stm_i2c_ops, tpm_stm_i2c_pm_suspend, | 891 | static SIMPLE_DEV_PM_OPS(tpm_stm_i2c_ops, tpm_stm_i2c_pm_suspend, |
893 | tpm_stm_i2c_pm_resume); | 892 | tpm_stm_i2c_pm_resume); |
893 | |||
894 | static struct i2c_driver tpm_stm_i2c_driver = { | 894 | static struct i2c_driver tpm_stm_i2c_driver = { |
895 | .driver = { | 895 | .driver = { |
896 | .owner = THIS_MODULE, | 896 | .owner = THIS_MODULE, |