This patch renames the function audio_set_pcm_format(). Since the
function doesn't only set the PCM format anymore and to guard against
misunderstandings, its name needs to be changed.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        return 0;
 }
 
-static int audio_set_pcm_format(struct snd_pcm_hardware *pcm_hw,
+static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw,
                                char *pcm_format,
                                struct most_channel_config *cfg)
 {
        channel->id = channel_id;
        init_pcm_hardware(&channel->pcm_hardware);
 
-       if (audio_set_pcm_format(&channel->pcm_hardware, pcm_format, cfg))
+       if (audio_set_hw_params(&channel->pcm_hardware, pcm_format, cfg))
                goto err_free_card;
 
        snprintf(card->driver, sizeof(card->driver), "%s", DRIVER_NAME);