[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140422093611.GI17657@lee--X1>
Date: Tue, 22 Apr 2014 10:36:11 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Cc: Sangbeom Kim <sbkim73@...sung.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
linux-kernel@...r.kernel.org,
Kyungmin Park <kyungmin.park@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Subject: Re: [PATCH v2 1/2] mfd: sec-core: Remove duplicated device type from
sec_pmic_dev
> The device type was stored in sec_pmic_dev state container twice:
> - unsigned long type (initialized from of_device_id or i2c_device_id)
> - int device_type (initialized as above or from board files when there
> is no DTS)
>
> The 'type' field was never used outside of probe so it can be safely
> removed.
>
> Change also the device_type in sec_pmic_dev and sec_platform_data to
> unsigned long to avoid any casts.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
>
> ---
>
> Changes since v1:
> - Change device_type field of sec_platform_data from int to unsigned long.
> - Update commit msg.
> ---
> drivers/mfd/sec-core.c | 5 +++--
> drivers/mfd/sec-irq.c | 2 +-
> include/linux/mfd/samsung/core.h | 3 +--
> 3 files changed, 5 insertions(+), 5 deletions(-)
Patch looks good now. Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists