diff mbox series

eeprom: at24: remove unneeded include

Message ID 20190703120754.2602-1-brgl@bgdev.pl
State Accepted
Delegated to: Bartosz Golaszewski
Headers show
Series eeprom: at24: remove unneeded include | expand

Commit Message

Bartosz Golaszewski July 3, 2019, 12:07 p.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

We used to have a call to ilog2() in AT24_DEVICE_MAGIC(). That's long
gone so this header is no longer needed.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 drivers/misc/eeprom/at24.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Wolfram Sang July 5, 2019, 6:35 p.m. UTC | #1
On Wed, Jul 03, 2019 at 02:07:54PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> We used to have a call to ilog2() in AT24_DEVICE_MAGIC(). That's long
> gone so this header is no longer needed.
> 
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Obviously correct :)

Acked-by: Wolfram Sang <wsa@the-dreams.de>
diff mbox series

Patch

diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 63aa541c9608..3a61b89024db 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -14,7 +14,6 @@ 
 #include <linux/delay.h>
 #include <linux/mutex.h>
 #include <linux/mod_devicetable.h>
-#include <linux/log2.h>
 #include <linux/bitops.h>
 #include <linux/jiffies.h>
 #include <linux/property.h>