It depends on the device because different equipment requires a different type of input voltages. And some applications such as linear power supplies are very useful in audio and radiofrequency equipment while a switching-mode supply is a handy tool for small equipment such as charger, etc.