Re: [PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-14 Thread Afonso Bordado
Hi, Thanks for your help with this. > And I suspect it may be originating from your code snippet: > > #define FXAS21002C_SCALE(scale) (IIO_DEGREE_TO_RAD(62500U >> > (scale))) > > and looking at the implementation: > > include/linux/iio/iio.h > /** > * IIO_DEGREE_TO_RAD() - Convert degree to

Re: [PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-14 Thread Afonso Bordado
Hi, Thanks for your help with this. > And I suspect it may be originating from your code snippet: > > #define FXAS21002C_SCALE(scale) (IIO_DEGREE_TO_RAD(62500U >> > (scale))) > > and looking at the implementation: > > include/linux/iio/iio.h > /** > * IIO_DEGREE_TO_RAD() - Convert degree to

[PATCH v4 1/5] iio: gyro: add support for fxas21002c

2018-09-11 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v4 - Remove CONFIG_OF ifdefs - Remove the use of the of_match_ptr macro - Split bindings into a separate patch - Remove interrupt-parent from binding documentation

[PATCH v4 1/5] iio: gyro: add support for fxas21002c

2018-09-11 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v4 - Remove CONFIG_OF ifdefs - Remove the use of the of_match_ptr macro - Split bindings into a separate patch - Remove interrupt-parent from binding documentation

[PATCH v4 5/5] MAINTAINERS: add entry for fxas21002c gyro driver

2018-09-11 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b9a364b043d..9420f0a8140d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v4 5/5] MAINTAINERS: add entry for fxas21002c gyro driver

2018-09-11 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b9a364b043d..9420f0a8140d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v4 2/5] iio: gyro: add device tree support for fxas21002c

2018-09-11 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/iio/gyro/fxas21002c.c b/drivers/iio/gyro/fxas21002c.c index 649316c26f5b

[PATCH v4 2/5] iio: gyro: add device tree support for fxas21002c

2018-09-11 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/iio/gyro/fxas21002c.c b/drivers/iio/gyro/fxas21002c.c index 649316c26f5b

[PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-11 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 143 +++--- 1 file changed, 131 insertions(+), 12 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-11 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 143 +++--- 1 file changed, 131 insertions(+), 12 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v4 3/5] dt-bindings: fxas21002c: Document the fxas21002c I2C bindings

2018-09-11 Thread Afonso Bordado
Add documentation for the fxas21002c I2C bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 33 +++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt diff --git

[PATCH v4 3/5] dt-bindings: fxas21002c: Document the fxas21002c I2C bindings

2018-09-11 Thread Afonso Bordado
Add documentation for the fxas21002c I2C bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 33 +++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt diff --git

[PATCH v3 3/4] iio: fxas21002c: add ODR/Scale support

2018-09-04 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 161 +++--- 1 file changed, 148 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v3 3/4] iio: fxas21002c: add ODR/Scale support

2018-09-04 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 161 +++--- 1 file changed, 148 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v3 2/4] iio: gyro: add device tree support for fxas21002c

2018-09-04 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 35 +++ drivers/iio/gyro/fxas21002c.c | 10 +- 2 files changed, 44 insertions(+), 1 deletion

[PATCH v3 2/4] iio: gyro: add device tree support for fxas21002c

2018-09-04 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 35 +++ drivers/iio/gyro/fxas21002c.c | 10 +- 2 files changed, 44 insertions(+), 1 deletion

[PATCH v3 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-09-04 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v3 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-09-04 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v3 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v3 - Use unsigned int on regmap functions - Remove the export of the regmap config - Fix undefined behaviour on dev_err call - Minor cleanups Changes in v2 - Use

[PATCH v3 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v3 - Use unsigned int on regmap functions - Remove the export of the regmap config - Fix undefined behaviour on dev_err call - Minor cleanups Changes in v2 - Use

Re: [PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
On Fri, 2018-08-31 at 17:35 +0200, Tomasz Duszynski wrote: > On Thu, Aug 30, 2018 at 10:18:22PM +0100, Afonso Bordado wrote: > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > --- > > Changes i

Re: [PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
On Fri, 2018-08-31 at 17:35 +0200, Tomasz Duszynski wrote: > On Thu, Aug 30, 2018 at 10:18:22PM +0100, Afonso Bordado wrote: > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > --- > > Changes i

Re: [PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
On Fri, 2018-08-31 at 17:55 +0530, Himanshu Jha wrote: > Hello Afonso, > > On Thu, Aug 30, 2018 at 10:18:22PM +0100, Afonso Bordado wrote: > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > --- >

Re: [PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-09-04 Thread Afonso Bordado
On Fri, 2018-08-31 at 17:55 +0530, Himanshu Jha wrote: > Hello Afonso, > > On Thu, Aug 30, 2018 at 10:18:22PM +0100, Afonso Bordado wrote: > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > --- >

[PATCH v2 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-30 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 35 +++ drivers/iio/gyro/fxas21002c.c | 13 ++- 2 files changed, 47 insertions(+), 1 deletion

[PATCH v2 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-30 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 161 +++--- 1 file changed, 148 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-08-30 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v2 - Use ANSI C Comments - Minor cleanups - More dscriptive devicetree bindings drivers/iio/gyro/Kconfig | 11 + drivers/iio/gyro/Makefile | 1 + drivers/iio

[PATCH v2 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-08-30 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v2 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-30 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 35 +++ drivers/iio/gyro/fxas21002c.c | 13 ++- 2 files changed, 47 insertions(+), 1 deletion

[PATCH v2 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-30 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 161 +++--- 1 file changed, 148 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v2 1/4] iio: gyro: add support for fxas21002c

2018-08-30 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- Changes in v2 - Use ANSI C Comments - Minor cleanups - More dscriptive devicetree bindings drivers/iio/gyro/Kconfig | 11 + drivers/iio/gyro/Makefile | 1 + drivers/iio

[PATCH v2 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-08-30 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-29 Thread Afonso Bordado
On Mon, 2018-08-27 at 18:08 +0100, Jonathan Cameron wrote: > On Sat, 25 Aug 2018 22:19:07 +0100 > Afonso Bordado wrote: > > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > Hi, > > Dri

Re: [PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-29 Thread Afonso Bordado
On Mon, 2018-08-27 at 18:08 +0100, Jonathan Cameron wrote: > On Sat, 25 Aug 2018 22:19:07 +0100 > Afonso Bordado wrote: > > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > Signed-off-by: Afonso Bordado > > Hi, > > Dri

Re: [PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-29 Thread Afonso Bordado
On Mon, 2018-08-27 at 18:13 +0100, Jonathan Cameron wrote: > On Sat, 25 Aug 2018 22:19:08 +0100 > Afonso Bordado wrote: > > > This patch adds device tree support for the fxas21002c driver, > > including > > bindings. > > > > Signed-off-by: Afonso Bor

Re: [PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-29 Thread Afonso Bordado
On Mon, 2018-08-27 at 18:13 +0100, Jonathan Cameron wrote: > On Sat, 25 Aug 2018 22:19:08 +0100 > Afonso Bordado wrote: > > > This patch adds device tree support for the fxas21002c driver, > > including > > bindings. > > > > Signed-off-by: Afonso Bor

[PATCH 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-08-25 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-25 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- drivers/iio/gyro/Kconfig | 11 ++ drivers/iio/gyro/Makefile | 1 + drivers/iio/gyro/fxas21002c.c | 363 ++ 3 files changed, 375 insertions(+) create

[PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-25 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt| 12 drivers/iio/gyro/fxas21002c.c| 10 +- 2 files changed, 21 insertions(+), 1

[PATCH 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-25 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 162 +++--- 1 file changed, 149 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH 4/4] MAINTAINERS: add entry for fxas21002c gyro driver

2018-08-25 Thread Afonso Bordado
Add entry for fxas21002c gyroscope driver and add myself as maintainer of this driver. Signed-off-by: Afonso Bordado --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2b7b24b145f0..faf5f41b1465 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-25 Thread Afonso Bordado
FXAS21002C is a 3 axis gyroscope with integrated temperature sensor Signed-off-by: Afonso Bordado --- drivers/iio/gyro/Kconfig | 11 ++ drivers/iio/gyro/Makefile | 1 + drivers/iio/gyro/fxas21002c.c | 363 ++ 3 files changed, 375 insertions(+) create

[PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-25 Thread Afonso Bordado
This patch adds device tree support for the fxas21002c driver, including bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt| 12 drivers/iio/gyro/fxas21002c.c| 10 +- 2 files changed, 21 insertions(+), 1

[PATCH 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-25 Thread Afonso Bordado
This patch adds support for reading/writing ODR/Scale We don't support the scale boost modes. Signed-off-by: Afonso Bordado --- drivers/iio/gyro/fxas21002c.c | 162 +++--- 1 file changed, 149 insertions(+), 13 deletions(-) diff --git a/drivers/iio/gyro/fxas21002c.c

[PATCH v3 3/4] staging: emxx_udc: Remove unecessary temporary variable

2016-12-20 Thread Afonso Bordado
This improves code readability. Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c

[PATCH v3 4/4] staging: emxx_udc: Fix CamelCase variable name

2016-12-20 Thread Afonso Bordado
Changes from CamelCase to a kernel format Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c

[PATCH v3 3/4] staging: emxx_udc: Remove unecessary temporary variable

2016-12-20 Thread Afonso Bordado
This improves code readability. Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 0963533..45808ed 100644

[PATCH v3 4/4] staging: emxx_udc: Fix CamelCase variable name

2016-12-20 Thread Afonso Bordado
Changes from CamelCase to a kernel format Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 45808ed..c19ce17 100644

[PATCH v3 1/4] staging: emxx_udc: Fix CamelCase function name

2016-12-20 Thread Afonso Bordado
Change EP0_out_PIO to use the kernel convention. Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c

[PATCH v3 1/4] staging: emxx_udc: Fix CamelCase function name

2016-12-20 Thread Afonso Bordado
Change EP0_out_PIO to use the kernel convention. Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 3f42fa8..51ad04b 100644

[PATCH v3 0/4] staging: emxx_udc: Fix checkpatch.pl CamelCase issues

2016-12-20 Thread Afonso Bordado
Fix checkpatch.pl issues with CamelCase. Improves readability by removing temporary variables. Afonso Bordado (4): staging: emxx_udc: Fix CamelCase function name staging: emxx_udc: Rename CamelCase variable staging: emxx_udc: Remove unecessary temporary variable staging: emxx_udc: Fix

[PATCH v3 2/4] staging: emxx_udc: Rename CamelCase variable

2016-12-20 Thread Afonso Bordado
The new name complies with the kernel styling guidelines and is more descriptive. Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_ud

[PATCH v3 0/4] staging: emxx_udc: Fix checkpatch.pl CamelCase issues

2016-12-20 Thread Afonso Bordado
Fix checkpatch.pl issues with CamelCase. Improves readability by removing temporary variables. Afonso Bordado (4): staging: emxx_udc: Fix CamelCase function name staging: emxx_udc: Rename CamelCase variable staging: emxx_udc: Remove unecessary temporary variable staging: emxx_udc: Fix

[PATCH v3 2/4] staging: emxx_udc: Rename CamelCase variable

2016-12-20 Thread Afonso Bordado
The new name complies with the kernel styling guidelines and is more descriptive. Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging

[PATCH v2] staging: emxx_udc: Fix styling issues

2016-12-20 Thread Afonso Bordado
Fix CamelCase styling issues with EP0_out_PIO Remove unecessary temporary variables Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/s

[PATCH v2] staging: emxx_udc: Fix styling issues

2016-12-20 Thread Afonso Bordado
Fix CamelCase styling issues with EP0_out_PIO Remove unecessary temporary variables Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b

[PATCH v2] staging: emxx_udc: Fix styling issues

2016-12-18 Thread Afonso Bordado
Fix CamelCase styling issues with EP0_out_PIO Remove unecessary temporary variables Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/s

[PATCH v2] staging: emxx_udc: Fix styling issues

2016-12-18 Thread Afonso Bordado
Fix CamelCase styling issues with EP0_out_PIO Remove unecessary temporary variables Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b

Re: [PATCH] staging: emxx_udc: Fix CamelCase styling issue

2016-12-18 Thread Afonso Bordado
> Instead of merely converting Hungarian CamelCase to lowercase > with underscores where word transitions occurred, try reading > the code and making sense of what it does to perhaps find a > better variable name instead. Maybe eliminate the variable > altogether. > > iWordLength could be reads

Re: [PATCH] staging: emxx_udc: Fix CamelCase styling issue

2016-12-18 Thread Afonso Bordado
> Instead of merely converting Hungarian CamelCase to lowercase > with underscores where word transitions occurred, try reading > the code and making sense of what it does to perhaps find a > better variable name instead. Maybe eliminate the variable > altogether. > > iWordLength could be reads

[PATCH] staging: emxx_udc: Fix CamelCase styling issue

2016-12-18 Thread Afonso Bordado
Converts from CamelCase to the recommended style. Signed-off-by: Afonso Bordado <afonsobord...@az8.co> --- drivers/staging/emxx_udc/emxx_udc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/em

[PATCH] staging: emxx_udc: Fix CamelCase styling issue

2016-12-18 Thread Afonso Bordado
Converts from CamelCase to the recommended style. Signed-off-by: Afonso Bordado --- drivers/staging/emxx_udc/emxx_udc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 3f42fa8