* [PATCH] mfd/ab5500: delete ab5500-core.h
@ 2012-06-06 21:25 Paul Bolle
2012-06-06 21:41 ` Linus Walleij
2012-06-29 16:22 ` Samuel Ortiz
0 siblings, 2 replies; 3+ messages in thread
From: Paul Bolle @ 2012-06-06 21:25 UTC (permalink / raw)
To: Linus Walleij, Samuel Ortiz; +Cc: linux-kernel
Commit 72fb92200d6c31b9982c06784e4bcff2f5b7d8b6 ("mfd/ab5500: delete
AB5500 support") deleted all files that used ab5500-core.h. That file
apparently was simply overlooked. Delete it too.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Tested with "git grep" only.
drivers/mfd/ab5500-core.h | 87 ---------------------------------------------
1 files changed, 0 insertions(+), 87 deletions(-)
delete mode 100644 drivers/mfd/ab5500-core.h
diff --git a/drivers/mfd/ab5500-core.h b/drivers/mfd/ab5500-core.h
deleted file mode 100644
index 63b30b1..0000000
--- a/drivers/mfd/ab5500-core.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Copyright (C) 2011 ST-Ericsson
- * License terms: GNU General Public License (GPL) version 2
- * Shared definitions and data structures for the AB5500 MFD driver
- */
-
-/* Read/write operation values. */
-#define AB5500_PERM_RD (0x01)
-#define AB5500_PERM_WR (0x02)
-
-/* Read/write permissions. */
-#define AB5500_PERM_RO (AB5500_PERM_RD)
-#define AB5500_PERM_RW (AB5500_PERM_RD | AB5500_PERM_WR)
-
-#define AB5500_MASK_BASE (0x60)
-#define AB5500_MASK_END (0x79)
-#define AB5500_CHIP_ID (0x20)
-
-/**
- * struct ab5500_reg_range
- * @first: the first address of the range
- * @last: the last address of the range
- * @perm: access permissions for the range
- */
-struct ab5500_reg_range {
- u8 first;
- u8 last;
- u8 perm;
-};
-
-/**
- * struct ab5500_i2c_ranges
- * @count: the number of ranges in the list
- * @range: the list of register ranges
- */
-struct ab5500_i2c_ranges {
- u8 nranges;
- u8 bankid;
- const struct ab5500_reg_range *range;
-};
-
-/**
- * struct ab5500_i2c_banks
- * @count: the number of ranges in the list
- * @range: the list of register ranges
- */
-struct ab5500_i2c_banks {
- u8 nbanks;
- const struct ab5500_i2c_ranges *bank;
-};
-
-/**
- * struct ab5500_bank
- * @slave_addr: I2C slave_addr found in AB5500 specification
- * @name: Documentation name of the bank. For reference
- */
-struct ab5500_bank {
- u8 slave_addr;
- const char *name;
-};
-
-static const struct ab5500_bank bankinfo[AB5500_NUM_BANKS] = {
- [AB5500_BANK_VIT_IO_I2C_CLK_TST_OTP] = {
- AB5500_ADDR_VIT_IO_I2C_CLK_TST_OTP, "VIT_IO_I2C_CLK_TST_OTP"},
- [AB5500_BANK_VDDDIG_IO_I2C_CLK_TST] = {
- AB5500_ADDR_VDDDIG_IO_I2C_CLK_TST, "VDDDIG_IO_I2C_CLK_TST"},
- [AB5500_BANK_VDENC] = {AB5500_ADDR_VDENC, "VDENC"},
- [AB5500_BANK_SIM_USBSIM] = {AB5500_ADDR_SIM_USBSIM, "SIM_USBSIM"},
- [AB5500_BANK_LED] = {AB5500_ADDR_LED, "LED"},
- [AB5500_BANK_ADC] = {AB5500_ADDR_ADC, "ADC"},
- [AB5500_BANK_RTC] = {AB5500_ADDR_RTC, "RTC"},
- [AB5500_BANK_STARTUP] = {AB5500_ADDR_STARTUP, "STARTUP"},
- [AB5500_BANK_DBI_ECI] = {AB5500_ADDR_DBI_ECI, "DBI-ECI"},
- [AB5500_BANK_CHG] = {AB5500_ADDR_CHG, "CHG"},
- [AB5500_BANK_FG_BATTCOM_ACC] = {
- AB5500_ADDR_FG_BATTCOM_ACC, "FG_BATCOM_ACC"},
- [AB5500_BANK_USB] = {AB5500_ADDR_USB, "USB"},
- [AB5500_BANK_IT] = {AB5500_ADDR_IT, "IT"},
- [AB5500_BANK_VIBRA] = {AB5500_ADDR_VIBRA, "VIBRA"},
- [AB5500_BANK_AUDIO_HEADSETUSB] = {
- AB5500_ADDR_AUDIO_HEADSETUSB, "AUDIO_HEADSETUSB"},
-};
-
-int ab5500_get_register_interruptible_raw(struct ab5500 *ab, u8 bank, u8 reg,
- u8 *value);
-int ab5500_mask_and_set_register_interruptible_raw(struct ab5500 *ab, u8 bank,
- u8 reg, u8 bitmask, u8 bitvalues);
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd/ab5500: delete ab5500-core.h
2012-06-06 21:25 [PATCH] mfd/ab5500: delete ab5500-core.h Paul Bolle
@ 2012-06-06 21:41 ` Linus Walleij
2012-06-29 16:22 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2012-06-06 21:41 UTC (permalink / raw)
To: Paul Bolle; +Cc: Samuel Ortiz, linux-kernel
On Wed, Jun 6, 2012 at 11:25 PM, Paul Bolle <pebolle@tiscali.nl> wrote:
> Commit 72fb92200d6c31b9982c06784e4bcff2f5b7d8b6 ("mfd/ab5500: delete
> AB5500 support") deleted all files that used ab5500-core.h. That file
> apparently was simply overlooked. Delete it too.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Sam, please pick this for the -rc kernels.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd/ab5500: delete ab5500-core.h
2012-06-06 21:25 [PATCH] mfd/ab5500: delete ab5500-core.h Paul Bolle
2012-06-06 21:41 ` Linus Walleij
@ 2012-06-29 16:22 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2012-06-29 16:22 UTC (permalink / raw)
To: Paul Bolle; +Cc: Linus Walleij, linux-kernel
Hi Paul,
On Wed, Jun 06, 2012 at 11:25:11PM +0200, Paul Bolle wrote:
> Commit 72fb92200d6c31b9982c06784e4bcff2f5b7d8b6 ("mfd/ab5500: delete
> AB5500 support") deleted all files that used ab5500-core.h. That file
> apparently was simply overlooked. Delete it too.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Tested with "git grep" only.
>
> drivers/mfd/ab5500-core.h | 87 ---------------------------------------------
> 1 files changed, 0 insertions(+), 87 deletions(-)
> delete mode 100644 drivers/mfd/ab5500-core.h
Patch applied to my for-linus branch, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-29 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 21:25 [PATCH] mfd/ab5500: delete ab5500-core.h Paul Bolle
2012-06-06 21:41 ` Linus Walleij
2012-06-29 16:22 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox