##### SUMMARY
pacman contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/modules/packaging/os/pacman.py:456:8: ansible-deprecated-version: Deprecated version ('2.10') found in call to Display.deprecated or AnsibleModule.deprecate
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/modules/packaging/os/pacman.py
```

##### ANSIBLE VERSION
```
2.10
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

expanded = []
    for pkg in pkgs:
        if pkg:  
            cmd = "%s --sync --groups --quiet %s" % (pacman_path, pkg)
            rc, stdout, stderr = module.run_command(cmd, check_rc=False)
            if rc == 0:
                
                for name in stdout.split('\n'):
                    name = name.strip()
                    if name:
                        expanded.append(name)
            else:
                expanded.append(pkg)
    return expanded
def main():
    module = AnsibleModule(