13 May, 2016

5 commits

  • This patch replaces goto out with return in ls1x_cpufreq_probe().

    Signed-off-by: Kelvin Cheung
    Acked-by: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: linux-pm@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/13056/
    Signed-off-by: Ralf Baechle

    Kelvin Cheung
     
  • This patch uses devm_kzalloc() instead of global structure.

    Signed-off-by: Kelvin Cheung
    Acked-by: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: linux-pm@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/13055/
    Signed-off-by: Ralf Baechle

    Kelvin Cheung
     
  • This patch uses dev_get_platdata() to get the platform_data
    instead of referencing it directly.

    Signed-off-by: Kelvin Cheung
    Acked-by: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: linux-pm@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/13054/
    Signed-off-by: Ralf Baechle

    Kelvin Cheung
     
  • This patch replaces kzalloc() with kcalloc() when allocating
    frequency table, and remove unnecessary 'out of memory' message.

    Signed-off-by: Kelvin Cheung
    Acked-by: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: linux-pm@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/13053/
    Signed-off-by: Ralf Baechle

    Kelvin Cheung
     
  • This patch renames the file to loongson1-cpufreq.c,
    and also includes some minor updates.

    Signed-off-by: Kelvin Cheung
    Acked-by: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: linux-pm@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/13052/
    Signed-off-by: Ralf Baechle

    Kelvin Cheung