These little clean ups were missed during the struct device conversion of tpm_chip. There were noticed when looking at Stefan's vtpm patch sets.
Nothing very significant - Add some missing krefs - Replace chip->devname with dev_name - Replace chip->pdev with chip->dev.parent Jason Gunthorpe (3): tpm: Hold the kref during tpm_chip_find_get tpm: Get rid of chip->pdev tpm: Get rid of devname drivers/char/tpm/tpm-chip.c | 34 +++++++++++++++++++--------------- drivers/char/tpm/tpm-dev.c | 4 +--- drivers/char/tpm/tpm-interface.c | 30 ++++++++++++++++-------------- drivers/char/tpm/tpm-sysfs.c | 6 +++--- drivers/char/tpm/tpm.h | 5 ++--- drivers/char/tpm/tpm2-cmd.c | 8 ++++---- drivers/char/tpm/tpm_atmel.c | 14 +++++++------- drivers/char/tpm/tpm_eventlog.c | 2 +- drivers/char/tpm/tpm_eventlog.h | 2 +- drivers/char/tpm/tpm_i2c_atmel.c | 16 ++++++++-------- drivers/char/tpm/tpm_i2c_infineon.c | 6 +++--- drivers/char/tpm/tpm_i2c_nuvoton.c | 28 ++++++++++++++-------------- drivers/char/tpm/tpm_infineon.c | 22 +++++++++++----------- drivers/char/tpm/tpm_nsc.c | 20 ++++++++++---------- drivers/char/tpm/tpm_tis.c | 18 +++++++++--------- 15 files changed, 109 insertions(+), 106 deletions(-) -- 2.1.4