diff options
author | Edward O'Callaghan <edward.ocallaghan@koparo.com> | 2015-03-26 20:10:09 +1100 |
---|---|---|
committer | Edward O'Callaghan <edward.ocallaghan@koparo.com> | 2015-04-09 19:34:02 +0200 |
commit | c1a9dfe85be5aa7c634bd0facde2ed1e77d76bde (patch) | |
tree | 7af13544c96974df265083ff1744775f3f492aa5 /src/soc/nvidia/tegra132/soc.c | |
parent | b95be26096d81832620e4768c223887f69de118b (diff) |
soc: Use DEVICE_NOOP macro formalism over static stub func
Change-Id: Ice7e27230010ffc48948f952394e849533f94085
Signed-off-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Reviewed-on: http://review.coreboot.org/8989
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/soc/nvidia/tegra132/soc.c')
-rw-r--r-- | src/soc/nvidia/tegra132/soc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/soc/nvidia/tegra132/soc.c b/src/soc/nvidia/tegra132/soc.c index b3841135f3..1072467818 100644 --- a/src/soc/nvidia/tegra132/soc.c +++ b/src/soc/nvidia/tegra132/soc.c @@ -86,14 +86,10 @@ static void soc_init(device_t dev) arch_initialize_cpus(dev, &cntrl_ops); } -static void soc_noop(device_t dev) -{ -} - static struct device_operations soc_ops = { .read_resources = soc_read_resources, - .set_resources = soc_noop, - .enable_resources = soc_noop, + .set_resources = DEVICE_NOOP, + .enable_resources = DEVICE_NOOP, .init = soc_init, .scan_bus = NULL, }; |