From 44a84f6d0984fe5fca1fb7d52bff68763fda86c5 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 17 Sep 2007 17:51:24 +0200 Subject: Add Makefile and .gitignore --- .gitignore | 1 + Makefile | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b33f973 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +statusbar diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3234256 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +CFLAGS=-Wall +LDFLAGS=-lacpi -lcpufreq + +all: statusbar + +statusbar: statusbar.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -- cgit v1.2.3-54-g00ecf '>
summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-dw-pci.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2013-11-29 18:09:07 +0100
committerMark Brown <broonie@linaro.org>2013-12-02 17:35:54 +0000
commit84acfd4340f9c7cef7286eb9d539e78fb3a15292 (patch)
tree45bb2798710b22b79021f9def054615db3fb10d7 /drivers/spi/spi-dw-pci.c
parent0079aae0f1e6179d85323b22b370a9cc15c89d45 (diff)
spi: omap-100k: remove pointless _remove function
Commit [8074cf06: use devm_spi_register_master()] removed the last bit of omap1_spi100k_remove function that had side effects. After call to spi_unregister_master was removed, the function consisted of: 2. call to platform_get_drvdata whose return value was only used in: 2. call to spi_master_get_devdata whose return value was not used, 3. an if statement checking if zero was not zero, and 4. call to platform_get_resource whose return value was not used. Ah, yes, and of course, final return 0. ;) Since omap1_spi100k_remove no longer does anything, it can be safely removed. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-dw-pci.c')