power/reset: xgene: Use local variable dev instead of pdev->dev