• Emil Medve's avatar
    clk: qoriq: Fix checkpatch type OOM_MESSAGE · 8002cab6
    Emil Medve authored
    WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
    +       if (!parent_names) {
    +               pr_err("%s: could not allocate parent_names\n", __func__);
    
    WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
    +       if (!cmux_clk) {
    +               pr_err("%s: could not allocate cmux_clk\n", __func__);
    
    WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
    +       if (!subclks) {
    +               pr_err("%s: could not allocate subclks\n", __func__);
    
    WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
    +       if (!onecell_data) {
    +               pr_err("%s: could not allocate onecell_data\n", __func__);
    Signed-off-by: default avatarEmil Medve <Emilian.Medve@Freescale.com>
    Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
    8002cab6
clk-qoriq.c 6.56 KB