summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hejduk <danielhejduk@disroot.org>2024-10-05 18:56:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-13 17:10:39 +0200
commit9b85df5d3fe7361ad66b97a5c7bf1cdfec8fb184 (patch)
treede33c3fcf84179b73011629e4b75594d371e8efa
parent88d81a0ce16988d9568fa47ca9c3802e1178e225 (diff)
misc: eeprom_93xx46: Changing 'unsigned' to 'unsigned int'
Fixes checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'. Signed-off-by: Daniel Hejduk <danielhejduk@disroot.org> Link: https://lore.kernel.org/r/20241005165653.26160-1-danielhejduk@disroot.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/eeprom/eeprom_93xx46.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c
index e2221be88445..9cae6f530679 100644
--- a/drivers/misc/eeprom/eeprom_93xx46.c
+++ b/drivers/misc/eeprom/eeprom_93xx46.c
@@ -229,7 +229,7 @@ static int eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on)
static ssize_t
eeprom_93xx46_write_word(struct eeprom_93xx46_dev *edev,
- const char *buf, unsigned off)
+ const char *buf, unsigned int off)
{
struct spi_message m;
struct spi_transfer t[2] = {};