[PATCH v3 0/7] tpm_tis: Clean up force module parameter

2015-12-17 Thread Jason Gunthorpe
Drive the force=1 flow through the driver core. There are two main reasons to do this: 1) To enable tpm_tis for OF environments requires a platform_device anyhow, so the force_device needs to be re-used for them. 2) Recent changes in the core code break the assumption that a driver will be

[PATCH v3 0/7] tpm_tis: Clean up force module parameter

2015-12-17 Thread Jason Gunthorpe
Drive the force=1 flow through the driver core. There are two main reasons to do this: 1) To enable tpm_tis for OF environments requires a platform_device anyhow, so the force_device needs to be re-used for them. 2) Recent changes in the core code break the assumption that a driver will be