drivers/i2c/tpm: Fix issues detected by checkpatch
Fix the following warnings detected by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' WARNING: braces {} are not necessary for single statement blocks WARNING: Unnecessary parentheses - maybe == should be = ? WARNING: line over 80 characters WARNING: missing space after return type TEST=Build and run on Galileo Gen2 Change-Id: I56f915f6c1975cce123fd38043bad2638717d88c Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/18832 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
struct drivers_i2c_tpm_config {
|
||||
const char *hid; /* ACPI _HID (required) */
|
||||
const char *desc; /* Device Description */
|
||||
unsigned uid; /* ACPI _UID */
|
||||
unsigned int uid; /* ACPI _UID */
|
||||
enum i2c_speed speed; /* Bus speed in Hz, default is I2C_SPEED_FAST */
|
||||
struct acpi_irq irq; /* Interrupt */
|
||||
};
|
||||
|
Reference in New Issue
Block a user