• Jason Gunthorpe's avatar
    tpm: Pull all driver sysfs code into tpm-sysfs.c · 1e3b73a9
    Jason Gunthorpe authored
    The tpm core now sets up and controls all sysfs attributes, instead
    of having each driver have a unique take on it.
    
    All drivers now now have a uniform set of attributes, and no sysfs
    related entry points are exported from the tpm core module.
    
    This also uses the new method used to declare sysfs attributes
    with DEVICE_ATTR_RO and 'struct attribute *'
    Signed-off-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
    [phuewe: had to apply the tpm_i2c_atmel part manually due to commit
    191ffc6bde3fc tpm/tpm_i2c_atmel: fix coccinelle warnings]
    Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
    1e3b73a9
tpm_nsc.c 9.27 KB