summaryrefslogtreecommitdiff
path: root/src/drivers/lenovo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-27 17:02:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-23 14:43:49 +0000
commit2aa3b16a2b9489e9e98da5554c4babed9b6b224c (patch)
treeccc21727f2ec26981caf3f4bb64957ae3b340f83 /src/drivers/lenovo
parent1d191273304d658fcf5a832c163c4230b1575127 (diff)
src/drivers: Remove needless '&' on function pointers
Change-Id: I7a99d0dcbc8ea1362a12a68fa519c49058d30a05 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29868 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/lenovo')
-rw-r--r--src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c b/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
index 4fa5b81e8e..b6d22415f5 100644
--- a/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
+++ b/src/drivers/lenovo/hybrid_graphics/hybrid_graphics.c
@@ -68,5 +68,5 @@ static void lenovo_hybrid_graphics_enable(struct device *dev)
struct chip_operations drivers_lenovo_hybrid_graphics_ops = {
CHIP_NAME("Lenovo hybrid graphics driver")
- .enable_dev = &lenovo_hybrid_graphics_enable
+ .enable_dev = lenovo_hybrid_graphics_enable
};