diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2017-09-11 15:21:14 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-15 19:28:11 +0000 |
commit | c661c8eab1dab5b19d0528e264d5205641035d61 (patch) | |
tree | 5896e69a6e97bf86588e8c716a475f670c64fa42 /src/soc/amd/stoneyridge/sata.c | |
parent | ea4649f65fece2e14a3f2b0d1b4f5835a76a1141 (diff) | |
download | coreboot-c661c8eab1dab5b19d0528e264d5205641035d61.tar.xz |
soc/amd/stoneyridge: Improve code quality
Remove empty functions. In function pointer structure
"device_operations", replace the 0 equality by NULL equality.
Files: hda.c, sata.c and usb.c
Change-Id: I9f8dc7681ab2e651872e69a8b2e990e59ebe80c9
Signed-off-by: Richard Spiegel <richard.spiegel@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/21522
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/sata.c')
-rw-r--r-- | src/soc/amd/stoneyridge/sata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/sata.c b/src/soc/amd/stoneyridge/sata.c index e2de3e6fdf..c1e54937bf 100644 --- a/src/soc/amd/stoneyridge/sata.c +++ b/src/soc/amd/stoneyridge/sata.c @@ -63,7 +63,7 @@ static struct device_operations sata_ops = { .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, .init = sata_init, - .scan_bus = 0, + .scan_bus = NULL, .ops_pci = &lops_pci, }; |