(Reuters) - HP Inc , which houses the hardware business of former Hewlett-Packard Co, reported a slightly higher-than-expected quarterly profit as it sold more personal computers.