Mihawk has never really been portrayed as an antagonist. Even in his introduction arc he just became a goal for Zoro to reach. When he fought Luffy, he was simply testing him too.
He's neither good nor evil - he's chaotic neutral, he just wants peace and might fuck up someone's day if he's bored.