lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohponR=1=nobZYJAG5BNCme5K2wZ7j3=zvFs1E_mK_cupU0w@mail.gmail.com>
Date:	Mon, 1 Apr 2013 10:18:33 +0530
From:	Viresh Kumar <viresh.kumar@...aro.org>
To:	Axel Lin <axel.lin@...ics.com>
Cc:	Thierry Reding <thierry.reding@...onic-design.de>,
	Shiraz Hashim <shiraz.hashim@...com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] pwm: mxs: Remove unused *dev from struct spear_pwm_chip

On 1 April 2013 08:19, Axel Lin <axel.lin@...ics.com> wrote:

Apart from fixing subject you need to write something in logs too..

> Signed-off-by: Axel Lin <axel.lin@...ics.com>
> ---
>  drivers/pwm/pwm-spear.c |    3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
> index 3223b57..9563599 100644
> --- a/drivers/pwm/pwm-spear.c
> +++ b/drivers/pwm/pwm-spear.c
> @@ -49,13 +49,11 @@
>   * @mmio_base: base address of pwm chip
>   * @clk: pointer to clk structure of pwm chip
>   * @chip: linux pwm chip representation
> - * @dev: pointer to device structure of pwm chip
>   */
>  struct spear_pwm_chip {
>         void __iomem *mmio_base;
>         struct clk *clk;
>         struct pwm_chip chip;
> -       struct device *dev;
>  };
>
>  static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip)
> @@ -200,7 +198,6 @@ static int spear_pwm_probe(struct platform_device *pdev)
>         if (IS_ERR(pc->clk))
>                 return PTR_ERR(pc->clk);
>
> -       pc->dev = &pdev->dev;
>         platform_set_drvdata(pdev, pc);
>
>         pc->chip.dev = &pdev->dev;

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ